Mat4F
Description
A 4x4 matrix with 64-bit floating-point precision.
/ \ | M11 M12 M13 M14 | | M21 M22 M23 M24 | | M31 M32 M33 M34 | | M41 M42 M43 M44 | \ /
- See also
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
.