60
edits
No edit summary |
No edit summary |
||
Line 516: | Line 516: | ||
// New coordinates | // New coordinates | ||
double y = y0 + (x[1] - y0)*cos(theta) - (x[2] - z0)*sin(theta); | double y = y0 + (x[1]-y0)*cos(theta) - (x[2]-z0)*sin(theta); | ||
double z = z0 + (x[1] - y0)*sin(theta) + (x[2] - z0)*cos(theta); | double z = z0 + (x[1]-y0)*sin(theta) + (x[2]-z0)*cos(theta); | ||
// Rotate at right end | // Rotate at right end |
edits