[Bf-committers] ODEPhysicsEnvironment
Gilbert, Joseph
jgilbert at tigr.org
Mon Feb 14 23:02:40 CET 2005
Class ODEPhysicsEnvironment is inherited from PHY_IPhysicsEnvironment.
Prob is that ODEPhysicsEnviroment declares a virtual function that
differs only in it's return type from it's parent class. This causes the
MSVC compile to throw a nasty error.
The fix for this would be to make ODEPhysicsEnvironment::proceed either
return bool (and the have something like return true in all it's
implementations) or change the input parameters.
Since I'm not familiar with the gameengine code I thought I'd throw this
out there.
/--------------
class PHY_IPhysicsEnvironment
{
public:
...
virtual bool proceed(double timeStep)=0;
/--------------
class ODEPhysicsEnvironment : public PHY_IPhysicsEnvironment
{
public:
...
virtual void proceed(double timeStep);
/----------------
More information about the Bf-committers
mailing list