Mat4F
Public / Constructors
Rotate
2 overloads
Returns a rotation matrix (counter-clockwise around the given axis for right-handed coordinate system when viewing from positive half-space).
Returns a rotation matrix (counter-clockwise around the given axis for right-handed coordinate system when viewing from positive half-space).
RotateX
Returns a rotation matrix (counter-clockwise around X-axis for right-handed coordinate system when viewing from positive half-space).
RotateY
Returns a rotation matrix (counter-clockwise around Y-axis for right-handed coordinate system when viewing from positive half-space).
RotateZ
Returns a rotation matrix (counter-clockwise around Z-axis for right-handed coordinate system when viewing from positive half-space).
Scale
3 overloads
Returns a 3D scaling matrix.
Returns a 4D scaling matrix.
Returns a 4D scaling matrix.
Warp
Computes an invertible 3D homogeneous warp matrix that transforms the given source triangle onto the specified target triangle.
The fourth row of the returned matrix will always be (0,0,0,1)
, so it is not necessary to perform the homogeneous divide. Also all elements along the main diagonal will be 1
.