Companion

Properties

Link copied to clipboard

Identity matrix for transformations in one dimensional space.

Functions

Link copied to clipboard

Creates a reflection transformation matrix for one-dimensional space. The matrix reflects the x-coordinate across the origin.

Link copied to clipboard

Creates a scaling transformation matrix for one-dimensional space. The matrix scales the x-coordinate by the given factor.

Link copied to clipboard

Creates a translation transformation matrix for one-dimensional space. The matrix translates the x-coordinate by the given offset.