How about a RotateQuad(Angle) function?
Blitz3D Forums/Blitz3D Programming/How about a RotateQuad(Angle) function?
| ||
How about someone help me with one that ALSO controls the length of the quad. I wrote a function to simple rotate a quad to a specified angle(only for the Y Axis, which is what I need), but I can't get it to adjust the quads length in it's local Z axis, if ya know what I mean. Any help? Please? :) |
| ||
Could just use sin for this. Store the points, take the angle you want, then make the new co-ords.x=cos(angle)*length z=sin(angle)*length do this for each length. Or am i missing the point slightly?? |
| ||
I dunno, I'm too tired to think atm. |
| ||
I got it, Amazingly enough. :) |
| ||
I got it, Amazingly enough. :) |
| ||
Mmmm, so am i. hehe |