ProjectedX() returns "#QNAN000"

BlitzMax Forums/MiniB3D Module/ProjectedX() returns "#QNAN000"

AnniXa(Posted 2010) [#1]
hey, does this CameraProject thing work fine?

even a simple test with
CameraProject(cam,10,10,10)
print ProjectedX()

returns #QNAN000
whats the problem here?

i use minib3d 0.53 and the last smallfix thingy (the one from february 2010)


xlsior(Posted 2010) [#2]
Not A Number?


SLotman(Posted 2010) [#3]
I just adapted Blitz3D CameraProject sample to miniB3D, and here it works without any problem.



Try this code and see if it works...

Last edited 2010


AnniXa(Posted 2010) [#4]
ty slotman, that worked, and helped me to find the problem.
for any reason it was not working when i did
"self.camera = CreateCamera(self.pivot)"
inside a method of another object.
maybe its a thing with include stuff or something.