OgreNewt_BasicFrameListener

nathanwilliams6

05-06-2006 15:32:18

Hi, i was wondering if you could make the OgreNewt_BasicFrameListener an optional component in OgreNewt.

Atm, to maintain better control of the physics, I use my own physics listener, and don’t use or inherit from the basic framelistener.

I had a problem where it complained that I didn’t have ExampleFrameListener, which i traced back to the OgreNewt_BasicFrameListener.h which was included from OgreNewt.h

Being that its an example of a basic frame listener, to make the ogrenewt library dependant on it, and in consequence ExampleFrameListener, seems unneeded.

I would like to suggest that the #include for it be removed from OgreNewt.h and instead be put in each of your example applications instead.

Hope that makes sense :)

walaber

05-06-2006 17:34:04

I have changed the OgreNewt::BasicFrameListener recently (about 203 weeks ago) to no longer use ExampleFrameListener.

it now inherits directly from Ogre::FrameListener, so there is no extra dependency.