Qbasicnews.com
Qbasicnews.com
>
QBasic
>
QB Discussion & Programming Help
> how do you rotate objects?
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.
webberboy
12-13-2003, 05:29 AM
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?
relsoft
12-13-2003, 12:33 PM
screenx=dist*x/z+middlex
screeny=middley-(dist*y/z)
there are a lot of projection formulas but that should work. ;*)
Qbasicnews.com
>
QBasic
>
QB Discussion & Programming Help
> how do you rotate objects?