| Modifier and Type | Field and Description |
|---|---|
| public float | m00
The first matrix element in the first row. |
| public float | m01
The second matrix element in the first row. |
| public float | m02
The third matrix element in the first row. |
| public float | m10
The first matrix element in the second row. |
| public float | m11
The second matrix element in the second row. |
| public float | m12
The third matrix element in the second row. |
| public float | m20
The first matrix element in the third row. |
| public float | m21
The second matrix element in the third row. |
| public float | m22
The third matrix element in the third row. |
| Access | Constructor and Description |
|---|---|
| public | Matrix3f(float
the [0][0] element m00, float the [0][1] element m01, float the [0][2] element m02, float the [1][0] element m10, float the [1][1] element m11, float the [1][2] element m12, float the [2][0] element m20, float the [2][1] element m21, float the [2][2] element m22)Constructs and initializes a Matrix3f from the specified nine values. |
| public | Matrix3f(float[]
the array of length 9 containing in order v)Constructs and initializes a Matrix3f from the specified nine-element array. |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final void | |
| public final void | getRow(int
the matrix row row, float[] the array into which the matrix row values will be copied v)Copies the matrix values in the specified row into the array parameter. |
| public final void | |
| public final void | setRow(int
the row number to be modified (zero indexed) row, float[] the replacement row v)Sets the specified row of this matrix3f to the three values provided. |
| public final void | |
| public String | Returns: the String representationOverrides java. Returns a string that contains the values of this Matrix3f. |
| m00 | back to summary |
|---|---|
| public float m00 The first matrix element in the first row. | |
| m01 | back to summary |
|---|---|
| public float m01 The second matrix element in the first row. | |
| m02 | back to summary |
|---|---|
| public float m02 The third matrix element in the first row. | |
| m10 | back to summary |
|---|---|
| public float m10 The first matrix element in the second row. | |
| m11 | back to summary |
|---|---|
| public float m11 The second matrix element in the second row. | |
| m12 | back to summary |
|---|---|
| public float m12 The third matrix element in the second row. | |
| m20 | back to summary |
|---|---|
| public float m20 The first matrix element in the third row. | |
| m21 | back to summary |
|---|---|
| public float m21 The second matrix element in the third row. | |
| m22 | back to summary |
|---|---|
| public float m22 The third matrix element in the third row. | |
| Matrix3f | back to summary |
|---|---|
| public Matrix3f(float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22) Constructs and initializes a Matrix3f from the specified nine values.
| |
| Matrix3f | back to summary |
|---|---|
| public Matrix3f(float[] v) Constructs and initializes a Matrix3f from the specified nine-element array. this.m00 =v[0], this.m01=v[1], etc.
| |
| Matrix3f | back to summary |
|---|---|
| public Matrix3f(Vec3f[] v) Constructs and initializes a Matrix3f from the specified nine-element array. this.m00 =v[0], this.m01=v[1], etc.
| |
| Matrix3f | back to summary |
|---|---|
| public Matrix3f(Matrix3f m1) Constructs a new matrix with the same values as the Matrix3f parameter.
| |
| Matrix3f | back to summary |
|---|---|
| public Matrix3f() Constructs and initializes a Matrix3f to all zeros. | |
| getRow | back to summary |
|---|---|
| public final void getRow(int row, Vec3f v) Copies the matrix values in the specified row into the vector parameter.
| |
| getRow | back to summary |
|---|---|
| public final void getRow(int row, float[] v) Copies the matrix values in the specified row into the array parameter.
| |
| setIdentity | back to summary |
|---|---|
| public final void setIdentity() Sets this Matrix3f to identity. | |
| setRow | back to summary |
|---|---|
| public final void setRow(int row, float[] v) Sets the specified row of this matrix3f to the three values provided.
| |
| setRow | back to summary |
|---|---|
| public final void setRow(int row, Vec3f v) Sets the specified row of this matrix3f to the Vector provided.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string that contains the values of this Matrix3f. | |