| 1 |
NAME SoDecomposeVec2f SoDecmpsV2f "" { |
| 2 |
decomposes 2D vectors into floating-point values |
| 3 |
} |
| 4 |
|
| 5 |
DESC { |
| 6 |
This engine takes as input a 2D vector, |
| 7 |
and decomposes it into two single floating-point values. |
| 8 |
\p |
| 9 |
The input can have multiple values, allowing the engine to decompose |
| 10 |
several vectors in parallel. |
| 11 |
} |
| 12 |
|
| 13 |
INCLUDE engines/SoCompose.h |
| 14 |
|
| 15 |
INPUT vector { Vector to be decomposed. } |
| 16 |
|
| 17 |
OUTPUT x { First component of the vector. } |
| 18 |
OUTPUT y { Second component of the vector. } |
| 19 |
|
| 20 |
METHOD Create SoDecomposeVec2f() { Constructor } |
| 21 |
|
| 22 |
ALSO { SoComposeVec2f, SoEngineOutput } |