Problem in the simpliest project you can imagine...
Posted: Fri May 07, 2010 10:40 pm
Hi everybody!
I can't figure out why this programme doesn't work. It just consists in a ICameraSceneNode, a CSphereSceneNode (implemented in my graphics.cpp file). Everything is just fine up to link, and when I execute the final program, the sphere is much bigger than what it should be...
I also noticed that the result is exactly the same if I just comment out the line where I add the camera. As if the creation of the camera is not taken into account...
See the code (and forgive me for the few french words remaining )
Thank you for your help
PS : I'm coding with a Mac, so you may have to adapt the Makefile
I can't figure out why this programme doesn't work. It just consists in a ICameraSceneNode, a CSphereSceneNode (implemented in my graphics.cpp file). Everything is just fine up to link, and when I execute the final program, the sphere is much bigger than what it should be...
I also noticed that the result is exactly the same if I just comment out the line where I add the camera. As if the creation of the camera is not taken into account...
See the code (and forgive me for the few french words remaining )
Thank you for your help
PS : I'm coding with a Mac, so you may have to adapt the Makefile