[Bf-committers] ODEPhysicsEnvironment

Kester Maddock Christopher.Maddock.1 at uni.massey.ac.nz
Tue Feb 15 11:11:08 CET 2005


It can be changed to return bool.  NB I'm not sure if ODE still works, so you 
shouldn't be compiling it unless you intend to develop it...

Kester

On Tuesday 15 February 2005 11:02, Gilbert, Joseph wrote:
> 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);
> /----------------
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers




More information about the Bf-committers mailing list