[solved] Help with Volumes & Callbacks

fibre3d

22-06-2009 10:28:06

This might probably be lame but I guess it's the best way I can put it for now. I'm trying to implement volumes from within a class but the Callback "OnVolumeEvent()" doesn't even get executed at runtime. However, if I created the volumes in the main application entrance, it works! Dunno exactly what I'm doing wrong cos I need them working from within the class to better manage my code.
Any help would be appreciated guys :D
Great wrapper BTW ;)

fibre3d

22-06-2009 10:51:40

Anywaiz, I moved my "OnVolumeEvent()" implementation from the .cpp to the .h file and now it works. :? Interesting!