Modifier and Type | Method and Description |
---|---|
float |
Vector3f.angle(Vector3f v1)
Returns the angle in radians between this vector and the vector
parameter; the return value is constrained to the range [0,PI].
|
void |
Vector3f.cross(Vector3f v1,
Vector3f v2)
Sets this vector to be the vector cross product of vectors v1 and v2.
|
float |
Vector3f.dot(Vector3f v1)
Computes the dot product of this vector and vector v1.
|
float |
Matrix4f.get(Matrix3f m1,
Vector3f t1)
Performs an SVD normalization of this matrix to calculate
the rotation as a 3x3 matrix, the translation, and the scale.
|
void |
Matrix4f.get(Vector3f trans)
Retrieves the translational components of this matrix.
|
void |
Matrix3f.getColumn(int column,
Vector3f v)
Copies the matrix values in the specified column into the vector
parameter.
|
void |
Matrix3f.getRow(int row,
Vector3f v)
Copies the matrix values in the specified row into the vector parameter.
|
void |
Vector3f.normalize(Vector3f v1)
Sets the value of this vector to the normalization of vector v1.
|
void |
Matrix4f.set(float scale,
Vector3f t1)
Sets the value of this transform to a scale and translation matrix;
the scale is not applied to the translation and all of the matrix
values are modified.
|
void |
Matrix4f.set(Matrix3f m1,
Vector3f t1,
float scale)
Sets the value of this matrix from the rotation expressed by
the rotation matrix m1, the translation t1, and the scale factor.
|
void |
Matrix4d.set(Matrix3f m1,
Vector3f t1,
float scale)
Sets the value of this matrix from the rotation expressed by
the rotation matrix m1, the translation t1, and the scale factor.
|
void |
Matrix4f.set(Quat4f q1,
Vector3f t1,
float s)
Sets the value of this matrix from the rotation expressed
by the quaternion q1, the translation t1, and the scale s.
|
void |
Matrix4d.set(Quat4f q1,
Vector3f t1,
float s)
Sets the value of this matrix from the rotation expressed
by the quaternion q1, the translation t1, and the scale s.
|
void |
Matrix4f.set(Vector3f v1)
Sets the value of this matrix to a translate matrix with
the passed translation value.
|
void |
Matrix4f.set(Vector3f t1,
float scale)
Sets the value of this transform to a scale and translation matrix;
the translation is scaled by the scale factor and all of the matrix
values are modified.
|
void |
AxisAngle4f.set(Vector3f axis,
float angle)
Sets the value of this AxisAngle4f to the specified
axis and angle.
|
void |
Matrix3f.setColumn(int column,
Vector3f v)
Sets the specified column of this matrix3f to the vector provided.
|
void |
Matrix3f.setRow(int row,
Vector3f v)
Sets the specified row of this matrix3f to the Vector provided.
|
void |
Matrix4f.setTranslation(Vector3f trans)
Modifies the translational components of this matrix to the values
of the Vector3f argument; the other values of this matrix are not
modified.
|
void |
Matrix4f.transform(Vector3f normal)
Transforms the normal parameter by this transform and places the value
back into normal.
|
void |
Matrix4d.transform(Vector3f normal)
Transforms the normal parameter by this transform and places the value
back into normal.
|
void |
Matrix4f.transform(Vector3f normal,
Vector3f normalOut)
Transforms the normal parameter by this Matrix4f and places the value
into normalOut.
|
void |
Matrix4d.transform(Vector3f normal,
Vector3f normalOut)
Transforms the normal parameter by this Matrix4d and places the value
into normalOut.
|
Constructor and Description |
---|
AxisAngle4f(Vector3f axis,
float angle)
Constructs and initializes an AxisAngle4f from the specified
axis and angle.
|
Matrix4f(Matrix3f m1,
Vector3f t1,
float s)
Constructs and initializes a Matrix4f from the rotation matrix,
translation, and scale values; the scale is applied only to the
rotational components of the matrix (upper 3x3) and not to the
translational components of the matrix.
|
Matrix4f(Quat4f q1,
Vector3f t1,
float s)
Constructs and initializes a Matrix4f from the quaternion,
translation, and scale values; the scale is applied only to the
rotational components of the matrix (upper 3x3) and not to the
translational components.
|
Vector3d(Vector3f v1)
Constructs and initializes a Vector3d from the specified Vector3f.
|
Vector3f(Vector3f v1)
Constructs and initializes a Vector3f from the specified Vector3f.
|