TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

enum CartesianHandedness in Tinman.Terrain.Geometries

Coordinate system handedness (i.e. right or left handed).

[PersistentEnum]
enum CartesianHandedness  

Remarks

        (Z)            (Z)
   (Y) _.-._          _.-._ (Y)
      | | | |_      _| | | |
      | | | | |    | | | | |          Thumb:         basis vector (X)
      | | | | |    | | | | |          Forefinger:    basis vector (Y)
(X) _ |  '-._ |    | _.-'  | _ (X)    Middle finger: basis vector (Z)
    \`\`-.'-._;    ;_.-'.-'/`/
     \    '   |    |   '    /
      \  .`  /      \  '.  /
       |    |        |    |
The 3D vectors X, Y and Z form the basis of a coordinate system. The handedness can be inferred from either the left or right hand (only one will work without breaking any finger).

Items

RightHanded = 0

A right-handed coordinate system.

Remarks:

The following figure shows the palm of the right hand:

    (Z)
   _.-._ (Y)
 _| | | |
| | | | |          Thumb:         basis vector (X)
| | | | |          Forefinger:    basis vector (Y)
| _.-'  | _ (X)    Middle finger: basis vector (Z)
;_.-'.-'/`/
|   '    /
 \  '.  /
  |    |
The 3D vectors X, Y and Z form the basis of a coordinate system. For a right-handed coordinate system, the following holds:
dot(cross(X, Y), Z) > 0

LeftHanded = 1

A left-handed coordinate system.

Remarks:

The following figure shows the palm of the left hand:

        (Z)
   (Y) _.-._
      | | | |_
      | | | | |    Thumb:         basis vector (X)
      | | | | |    Forefinger:    basis vector (Y)
(X) _ |  '-._ |    Middle finger: basis vector (Z)
    \`\`-.'-._;
     \    '   |
      \  .`  /
       |    |
The 3D vectors X, Y and Z form the basis of a coordinate system. For a left-handed coordinate system, the following holds:
dot(cross(X, Y), Z) < 0