Mat
Public / Methods
To2D
6 overloads
Creates a new Mat2D from the given values.
The method uses the following indexing scheme to read values from values in:
matrix[row, col] := values[offset + (row - 1) * strideRow + (col - 1) * strideCol;
where row
and col
depict the matrix row and column number (starting at 1
).
Converts the given matrix to a 2x2 matrix.
Converts the given matrix to a 2x2 matrix.
Converts the given matrix to a 2x2 matrix.
Converts the given matrix to a 2x2 matrix.
Converts the given matrix to a 2x2 matrix.
To2F
6 overloads
Creates a new Mat2F from the given values.
The method uses the following indexing scheme to read values from values in:
matrix[row, col] := values[offset + (row - 1) * strideRow + (col - 1) * strideCol;
where row
and col
depict the matrix row and column number (starting at 1
).
Converts the given matrix to a 2x2 matrix.
Converts the given matrix to a 2x2 matrix.
Converts the given matrix to a 2x2 matrix.
Converts the given matrix to a 2x2 matrix.
Converts the given matrix to a 2x2 matrix.
To3D
6 overloads
Creates a new Mat3D from the given values.
The method uses the following indexing scheme to read values from values in:
matrix[row, col] := values[offset + (row - 1) * strideRow + (col - 1) * strideCol;
where row
and col
depict the matrix row and column number (starting at 1
).
Converts the given matrix to a 3x3 matrix.
Converts the given matrix to a 3x3 matrix.
Converts the given matrix to a 3x3 matrix.
Converts the given matrix to a 3x3 matrix.
Converts the given matrix to a 3x3 matrix.
To3F
6 overloads
Creates a new Mat3F from the given values.
The method uses the following indexing scheme to read values from values in:
matrix[row, col] := values[offset + (row - 1) * strideRow + (col - 1) * strideCol;
where row
and col
depict the matrix row and column number (starting at 1
).
Converts the given matrix to a 3x3 matrix.
Converts the given matrix to a 3x3 matrix.
Converts the given matrix to a 3x3 matrix.
Converts the given matrix to a 3x3 matrix.
Converts the given matrix to a 3x3 matrix.
To4D
6 overloads
Creates a new Mat4D from the given values.
The method uses the following indexing scheme to read values from values in:
matrix[row, col] := values[offset + (row - 1) * strideRow + (col - 1) * strideCol;
where row
and col
depict the matrix row and column number (starting at 1
).
Converts the given matrix to a 4x4 matrix.
Converts the given matrix to a 4x4 matrix.
Converts the given matrix to a 4x4 matrix.
Converts the given matrix to a 4x4 matrix.
Converts the given matrix to a 4x4 matrix.
To4F
6 overloads
Creates a new Mat4F from the given values.
The method uses the following indexing scheme to read values from values in:
matrix[row, col] := values[offset + (row - 1) * strideRow + (col - 1) * strideCol;
where row
and col
depict the matrix row and column number (starting at 1
).
Converts the given matrix to a 4x4 matrix.
Converts the given matrix to a 4x4 matrix.
Converts the given matrix to a 4x4 matrix.
Converts the given matrix to a 4x4 matrix.
Converts the given matrix to a 4x4 matrix.