OZONE Asylum
Forums
OZONE
Help with Rotation Matrix
This page's ID:
28781
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I'm about at my wit's end. I was trying the double-polar thing, but arctan() is giving me fits. Gonna try to rotate a vector using a rotation matrix. Problem is, my matrix work is way rusty. Matter of fact, I don't really do matrices as matrices exactly. Here is the matrix: [url=http://en.wikipedia.org/wiki/Rotation_matrix]Rotation Matrix[/url] Gonna use the M(vector, theta) version. The second one, the one to rotate about an arbitrary unit vector. The problem I'm having is writing it out long-hand in code. Ah... gonna substitue @ for theta. x' = cos@+(1-cos@)x^2 + (1-cos@)yx+(sin@)z + (1-cos@)zx-(sin@)y Is that right for x', or do I still have to mult all parts by x?
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »