Skip to content

Documentation / @sw-file-lib/core / math / AxisMapping

Interface: AxisMapping ​

ts
interface AxisMapping {
  axis: Axis;
  sign: -1 | 1;
}

Defined in: math/orientation.ts:7

Mapping from an output axis to a signed input axis. Used in Orientation.

Properties ​

PropertyTypeDescription

axis

Axis

Source axis to read from.

sign

-1 | 1

Sign applied to the source axis.