04-02-2005, 06:17 AM
url=http://www.random-seed.net][/url]
finding z
|
04-02-2005, 06:17 AM
url=http://www.random-seed.net][/url]
04-02-2005, 07:12 AM
When you want to rotate around the Z-axis, you don't actually do anything to Z... I'm not sure if you mean rotate, translate or what though... There are many operations you can do in a sub like that.
It's better to use matrices, but this is the general formula. Code: x' = x*cos radian - y*sin radian
04-03-2005, 12:45 AM
geez, heh... here we go.. oops
ok, if i make a sub for a 3d line command, assuming i'm using screen 13, how would i calculate z inside the sub, liek sub 3dline(x,y,z) z = ??? end sub ... i know i saw the equasion somewhere... crap
url=http://www.random-seed.net][/url]
04-03-2005, 02:56 AM
well i dont know much to anything about 3d, but im assuming if youre going to draw a 3d line youre going to need
X1 X2 Y1 Y2 Z1 Z2 not just xyz... |
« Next Oldest | Next Newest »
|