Qbasicnews.com

Full Version: how do you rotate objects?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I know how to rotate things, I just need to know how to translate the x,y and z coordinates to just x and y for displaying on the screen. Any help?
screenx=dist*x/z+middlex
screeny=middley-(dist*y/z)

there are a lot of projection formulas but that should work. ;*)