| 1 |
NAME SoDecomposeRotation SoDecmpsRot "" { |
| 2 |
decomposes rotation values |
| 3 |
} |
| 4 |
|
| 5 |
DESC { |
| 6 |
This engine takes as input a rotation, and |
| 7 |
decomposes it into an axis value and a rotation angle (in radians). |
| 8 |
\p |
| 9 |
The input can have multiple values, allowing the engine to decompose |
| 10 |
several rotations in parallel. |
| 11 |
} |
| 12 |
|
| 13 |
INCLUDE engines/SoCompose.h |
| 14 |
|
| 15 |
INPUT rotation { Rotation to be decomposed. } |
| 16 |
|
| 17 |
OUTPUT axis { Axis of rotation derived from the input. } |
| 18 |
OUTPUT angle { Angle (in radians) derived from the input. } |
| 19 |
|
| 20 |
METHOD Create SoDecomposeRotation() { Constructor } |
| 21 |
|
| 22 |
ALSO { SoDecomposeRotationFromTo, SoComposeRotation, SoEngineOutput } |