Class SoComposeVec2s

All Implemented Interfaces:
SafeDisposable

public class SoComposeVec2s extends SoEngine
Composes 2D vectors from short values. This engine takes two integer inputs and composes a 2D short vector.

The input fields can have multiple values, allowing the engine to compose several vectors in parallel. One of the inputs may have more values than others. In such cases, the last value of the shorter input will be repeated as necessary.

File format/default:

ComposeVec2s {

    x 0
    y 0
}

See Also:
  • Field Details

  • Constructor Details

    • SoComposeVec2s

      public SoComposeVec2s()
      Default Constructor.