| 1 |
NAME SoComposeVec2f SoCmpsV2f "" { |
| 2 |
composes 2D vectors from floating-point values |
| 3 |
} |
| 4 |
|
| 5 |
DESC { |
| 6 |
This engine takes two floating-point inputs and composes a |
| 7 |
2D floating-point vector. |
| 8 |
\p |
| 9 |
The input fields can have multiple values, allowing the engine to |
| 10 |
compose several vectors in parallel. |
| 11 |
One of the inputs may have more values than others. In such cases, |
| 12 |
the last value of the shorter input will be repeated as necessary. |
| 13 |
} |
| 14 |
|
| 15 |
INCLUDE engines/SoCompose.h |
| 16 |
|
| 17 |
INPUT x { The x component. } |
| 18 |
INPUT y { The y component. } |
| 19 |
|
| 20 |
OUTPUT vector { Vector composed of x and y components. } |
| 21 |
|
| 22 |
METHOD Create SoComposeVec2f() { Constructor } |
| 23 |
|
| 24 |
ALSO { SoDecomposeVec2f, SoEngineOutput } |