functioncartWrap

Return the index to a Cartesian axis (1 to 3 or Axis.x to Axis.z) after wrapping

A function of mod1.

Information

Examples:
cartWrap(0) returns 3 and cartWrap(4) returns 1.

Attributes

NameValue
den finalAxis.z