Vectors
While much vector math can be done with basic arithmetic patterns, some operations require more specialized functionality. This chapter provides some of these.
Primary Distortion
Vector -> Number
Returns the X component of the given vector.
Secondary Distortion
Vector -> Number
Returns the Y component of the given vector.
Tertiary Distortion
Vector -> Number
Returns the Z component of the given vector.
Absorption Distortion
Number, Number, Number -> Vector
Merges three input numbers into a vector.
Magnitude Distortion
Vector -> Number
Returns the length of the given vector.
Alignment Distortion
Vector, Vector -> Number
Returns the dot product of the given vectors.
Perpendicular Distortion
Vector, Vector -> Vector
Returns the cross product of the given vectors.
Regularity Distortion
Vector -> Vector
Normalizes the given vector to a length of one.
Aligned Regularity Distortion
Vector -> Vector
Normalizes the given vector to a length of one and aligns it to the nearest cardinal axis.