|
-
September 29th, 2011, 04:04 PM
#1
rotating a point by x-axis is the formula valid for any theta
Dear Friends
I am trying to sweep a set of points by some degree theta. So I am using this formula
newx = x;
newy = y * cos(theta) - z * sin(theta);
newz = y * sin(theta) + z * cos(theta);
Is this formula valid for any degree theta.
Because when theta=360 degree, then sin(theta) = 1.47e--05
Is this okay. Please give me some idea.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|