[flatland-cvs] flatland/flatland aabb.h,1.2,1.3 flatland.cpp,1.2,1.3 flatland.h,1.3,1.4
Status: Alpha
Brought to you by:
prideout
From: Philip R. <pri...@us...> - 2006-04-23 17:23:59
|
Update of /cvsroot/flatland/flatland/flatland In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21296/flatland Modified Files: aabb.h flatland.cpp flatland.h Log Message: - converted project to VStudio 2005 - added a #include to fix compilation problem (Joel Horne) - added to build instructions to refer to gl and wgl headers - added an item to the release procedure (add a news item) - fixed atan bug in flatland.cpp (gorchillo) - fixed line-ending problem in simple.cpp (gorchillo) - fixed virtual destructors (gorchillo) Index: aabb.h =================================================================== RCS file: /cvsroot/flatland/flatland/flatland/aabb.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** aabb.h 27 Feb 2005 22:16:32 -0000 1.2 --- aabb.h 23 Apr 2006 17:23:50 -0000 1.3 *************** *** 1,5 **** // $Header$ // Summary: Define a small class for 2D axis-aligned bounding boxes. ! // Copyright: 2005 Philip Rideout. All rights reserved. // License: see bsd-license.txt #pragma once --- 1,7 ---- // $Header$ // Summary: Define a small class for 2D axis-aligned bounding boxes. ! // Copyright: 2005 Philip Rideout. All rights reserved. ! // License: see bsd-license.txt ! #pragma once Index: flatland.cpp =================================================================== RCS file: /cvsroot/flatland/flatland/flatland/flatland.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** flatland.cpp 27 Feb 2005 22:16:32 -0000 1.2 --- flatland.cpp 23 Apr 2006 17:23:50 -0000 1.3 *************** *** 49,53 **** { // TODO this assumes that there was no previous rotation ! const float degreesToRadians = atan(1) / 45; dMatrix3 R; dRFromAxisAndAngle(R, 0, 0, 1, theta * degreesToRadians); --- 49,53 ---- { // TODO this assumes that there was no previous rotation ! const float degreesToRadians = atan(1.0f) / 45; dMatrix3 R; dRFromAxisAndAngle(R, 0, 0, 1, theta * degreesToRadians); Index: flatland.h =================================================================== RCS file: /cvsroot/flatland/flatland/flatland/flatland.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** flatland.h 3 Jul 2005 20:00:50 -0000 1.3 --- flatland.h 23 Apr 2006 17:23:50 -0000 1.4 *************** *** 5,10 **** #pragma once ! #include <ode/common.h> ! #include <ode/contact.h> #include <flatland/aabb.h> #include <flatland/vector.h> --- 5,10 ---- #pragma once ! #include <ode/ode.h> ! #include <ode/src/objects.h> #include <flatland/aabb.h> #include <flatland/vector.h> *************** *** 76,79 **** --- 76,80 ---- public: Object(); + virtual ~Object() {} virtual Geometry& GetGeometry() = 0; virtual const Geometry& GetGeometry() const = 0; *************** *** 267,274 **** if (is_nan(lvel[0])) return true; if (is_nan(lvel[1])) return true; - if (is_nan(lvel[2])) return true; if (is_nan(avel[0])) return true; if (is_nan(avel[1])) return true; - if (is_nan(avel[2])) return true; } return false; --- 268,273 ---- |