Add the supplied vector to this one.
Add the supplied vector to this one and store the result in dest
.
Add the supplied vector to this one.
Add the supplied vector to this one and store the result in dest
.
float
float
Return the angle between this vector and the supplied vector.
float
float
Return the cosine of the angle between this vector and the supplied vector.
float
float
Return the signed angle between this vector and the supplied vector with
respect to the plane with the given normal vector n
.
Apply an arcball view transformation to this matrix with the given radius
and center
position of the arcball and the specified X and Y rotation angles.
Apply an arcball view transformation to this matrix with the given radius
and center
position of the arcball and the specified X and Y rotation angles, and store the result in dest
.
Apply an arcball view transformation to this matrix with the given radius
and center
position of the arcball and the specified X and Y rotation angles.
Apply an arcball view transformation to this matrix with the given radius
and center
position of the arcball and the specified X and Y rotation angles, and store the result in dest
.
Set this matrix to a cylindrical billboard transformation that rotates the local +Z axis of a given object with position objPos
towards
a target position at targetPos
while constraining a cylindrical rotation around the given up
vector.
Set this matrix to a cylindrical billboard transformation that rotates the local +Z axis of a given object with position objPos
towards
a target position at targetPos
while constraining a cylindrical rotation around the given up
vector.
Set this matrix to a spherical billboard transformation that rotates the local +Z axis of a given object with position objPos
towards
a target position at targetPos
using a shortest arc rotation by not preserving any up vector of the object.
Set this matrix to a spherical billboard transformation that rotates the local +Z axis of a given object with position objPos
towards
a target position at targetPos
.
Set this matrix to a spherical billboard transformation that rotates the local +Z axis of a given object with position objPos
towards
a target position at targetPos
using a shortest arc rotation by not preserving any up vector of the object.
Set this matrix to a spherical billboard transformation that rotates the local +Z axis of a given object with position objPos
towards
a target position at targetPos
.
static void
Calculate the surface bitangent for the three supplied vertices and UV coordinates and store the result in dest
.
Set this vector to be the cross product of itself and v
.
Compute the cross product of this vector and v
and store the result in dest
.
float
float
Return the distance between this Vector and v
.
float
float
Return the square of the distance between this vector and v
.
Divide this Vector3d component-wise by another Vector3fc.
Divide this Vector3d component-wise by another Vector3f and store the result in dest
.
Divide this Vector3f component-wise by another Vector3fc.
Divide this Vector3f component-wise by another Vector3f and store the result in dest
.
float
float
Return the dot product of this vector and the supplied vector.
boolean
boolean
Compare the vector components of this
vector with the given vector using the given delta
and return whether all of them are equal within a maximum difference of delta
.
static int
Determine the closest point on the triangle with the vertices v0
, v1
, v2
between that triangle and the given point p
and store that point into the given result
.
Add the component-wise multiplication of a * b
to this vector.
Add the component-wise multiplication of a * b
to this vector.
Add the component-wise multiplication of a * b
to this vector
and store the result in dest
.
Add the component-wise multiplication of a * b
to this vector
and store the result in dest
.
Add the component-wise multiplication of a * b
to this vector
and store the result in dest
.
Add the component-wise multiplication of a * b
to this vector.
Add the component-wise multiplication of a * b
to this vector.
Add the component-wise multiplication of a * b
to this vector
and store the result in dest
.
Add the component-wise multiplication of a * b
to this vector
and store the result in dest
.
Set this quaternion to be a representation of the supplied axis and
angle (in degrees).
Set this quaternion to be a representation of the supplied axis and
angle (in radians).
Compute the half vector between this and the other vector.
Compute the half vector between this and the other vector and store the result in dest
.
Compute a hermite interpolation between this
vector with its
associated tangent t0
and the given vector v
with its tangent t1
and store the result in
dest
.
int
Determine whether the given axis-aligned box is partly or completely within or outside of the frustum defined by this
frustum culler
and, if the box is not inside this frustum, return the index of the plane that culled it.
int
Determine whether the given axis-aligned box is partly or completely within or outside of the frustum defined by this
frustum culler
and, if the box is not inside this frustum, return the index of the plane that culled it.
int
Determine whether the given axis-aligned box is partly or completely within or outside of the frustum defined by this
frustum culler
and, if the box is not inside this frustum, return the index of the plane that culled it.
static int
Determine whether the undirected line segment with the end points p0
and p1
intersects the axis-aligned box given as its minimum corner min
and maximum corner max
,
and return the values of the parameter t in the ray equation p(t) = origin + p0 * (p1 - p0) of the near and far point of intersection.
static boolean
Determine whether the line segment with the end points p0
and p1
intersects the triangle consisting of the three vertices (v0X, v0Y, v0Z)
, (v1X, v1Y, v1Z)
and (v2X, v2Y, v2Z)
,
regardless of the winding order of the triangle or the direction of the line segment between its two end points,
and return the point of intersection.
static boolean
Test whether the ray with the given origin
and direction dir
intersects the axis-aligned box specified as its minimum corner min
and maximum corner max
,
and return the values of the parameter t in the ray equation p(t) = origin + t * dir of the near and far point of intersection..
static float
Test whether the ray with given origin
and direction dir
intersects the plane
containing the given point
and having the given normal
, and return the
value of the parameter t in the ray equation p(t) = origin + t * dir of the intersection point.
static boolean
Test whether the ray with the given origin
and normalized direction dir
intersects the sphere with the given center
and square radius radiusSquared
,
and store the values of the parameter t in the ray equation p(t) = origin + t * dir for both points (near
and far) of intersections into the given result
vector.
static float
Determine whether the ray with the given origin
and the given dir
intersects the triangle consisting of the three vertices
v0
, v1
and v2
and return the value of the parameter t in the ray equation p(t) = origin + t * dir of the point of intersection.
static float
Determine whether the ray with the given origin
and the given dir
intersects the frontface of the triangle consisting of the three vertices
v0
, v1
and v2
and return the value of the parameter t in the ray equation p(t) = origin + t * dir of the point of intersection.
int
Determine whether the given sphere is partly or completely within or outside of the frustum defined by this
frustum culler.
static boolean
Test whether the one sphere with center centerA
and square radius radiusSquaredA
intersects the other
sphere with center centerB
and square radius radiusSquaredB
, and store the center of the circle of
intersection in the (x, y, z)
components of the supplied vector and the radius of that circle in the w component.
Linearly interpolate this
and other
using the given interpolation factor t
and store the result in this
.
Linearly interpolate this
and other
using the given interpolation factor t
and store the result in dest
.
Apply a rotation transformation to this matrix to make -z
point along dir
.
Apply a rotation transformation to this matrix to make -z
point along dir
and store the result in dest
.
Apply a rotation transformation to this matrix to make -z
point along dir
and store the result in dest
.
Apply a rotation transformation to this matrix to make -z
point along dir
.
Apply a rotation transformation to this matrix to make -z
point along dir
and store the result in dest
.
Apply a rotation transformation to this matrix to make -z
point along dir
and store the result in dest
.
Apply a rotation transformation to this matrix to make -z
point along dir
.
Apply a rotation transformation to this matrix to make -z
point along dir
and store the result in dest
.
Apply a rotation transformation to this matrix to make -z
point along dir
and store the result in dest
.
Apply a rotation to this quaternion that maps the given direction to the positive Z axis.
Apply a rotation to this quaternion that maps the given direction to the positive Z axis, and store the result in dest
.
Apply a "lookat" transformation to this matrix for a right-handed coordinate system,
that aligns -z
with center - eye
.
Apply a "lookat" transformation to this matrix for a right-handed coordinate system,
that aligns -z
with center - eye
and store the result in dest
.
Apply a "lookat" transformation to this matrix for a right-handed coordinate system,
that aligns -z
with center - eye
and store the result in dest
.
Apply a "lookat" transformation to this matrix for a right-handed coordinate system,
that aligns -z
with center - eye
.
Apply a "lookat" transformation to this matrix for a right-handed coordinate system,
that aligns -z
with center - eye
and store the result in dest
.
Apply a "lookat" transformation to this matrix for a right-handed coordinate system,
that aligns -z
with center - eye
and store the result in dest
.
Apply a "lookat" transformation to this matrix for a left-handed coordinate system,
that aligns +z
with center - eye
.
Apply a "lookat" transformation to this matrix for a left-handed coordinate system,
that aligns +z
with center - eye
and store the result in dest
.
Apply a "lookat" transformation to this matrix for a left-handed coordinate system,
that aligns +z
with center - eye
and store the result in dest
.
Apply a "lookat" transformation to this matrix for a left-handed coordinate system,
that aligns +z
with center - eye
.
Apply a "lookat" transformation to this matrix for a left-handed coordinate system,
that aligns +z
with center - eye
and store the result in dest
.
Apply a "lookat" transformation to this matrix for a left-handed coordinate system,
that aligns +z
with center - eye
and store the result in dest
.
Set the components of this vector to be the component-wise maximum of this and the other vector.
Set the components of dest
to be the component-wise maximum of this and the other vector.
Set the components of this vector to be the component-wise minimum of this and the other vector.
Set the components of dest
to be the component-wise minimum of this and the other vector.
Multiply this Vector3d component-wise by another Vector3fc.
Multiply this Vector3d component-wise by another Vector3f and store the result in dest
.
Multiply this Vector3f component-wise by another Vector3fc.
Multiply this Vector3f component-wise by another Vector3f and store the result in dest
.
Add the component-wise multiplication of this * a
to b
and store the result in dest
.
Add the component-wise multiplication of this * a
to b
and store the result in this
.
Add the component-wise multiplication of this * a
to b
and store the result in this
.
Add the component-wise multiplication of this * a
to b
and store the result in dest
.
Add the component-wise multiplication of this * a
to b
and store the result in dest
.
static void
Calculate the normal of a surface defined by points v1
, v2
and v3
and store it in dest
.
Transform this
vector so that it is orthogonal to the given vector v
and normalize the result.
Transform this
vector so that it is orthogonal to the given vector v
, normalize the result and store it into dest
.
Transform this
vector so that it is orthogonal to the given unit vector v
and normalize the result.
Transform this
vector so that it is orthogonal to the given unit vector v
, normalize the result and store it into dest
.
static void
Compute two arbitrary vectors perpendicular to the given normalized vector v
, and store them in dest1
and dest2
,
respectively.
Project the given position
via this
matrix using the specified viewport
and store the resulting window coordinates in winCoordsDest
.
Project the given position
via this
matrix using the specified viewport
and store the resulting window coordinates in winCoordsDest
.
double
double
float
float
Apply a mirror/reflection transformation to this matrix that reflects through the given plane
specified via the plane normal.
Apply a mirror/reflection transformation to this matrix that reflects through the given plane
specified via the plane normal, and store the result in dest
.
Apply a mirror/reflection transformation to this matrix that reflects about a plane
specified via the plane orientation and a point on the plane.
Apply a mirror/reflection transformation to this matrix that reflects about the given plane
specified via the plane normal and a point on the plane.
Apply a mirror/reflection transformation to this matrix that reflects about a plane
specified via the plane orientation and a point on the plane, and store the result in dest
.
Apply a mirror/reflection transformation to this matrix that reflects about the given plane
specified via the plane normal and a point on the plane, and store the result in dest
.
Apply a mirror/reflection transformation to this matrix that reflects about a plane
specified via the plane orientation and a point on the plane.
Apply a mirror/reflection transformation to this matrix that reflects about the given plane
specified via the plane normal and a point on the plane.
Apply a mirror/reflection transformation to this matrix that reflects about a plane
specified via the plane orientation and a point on the plane, and store the result in dest
.
Apply a mirror/reflection transformation to this matrix that reflects about the given plane
specified via the plane normal and a point on the plane, and store the result in dest
.
Reflect this vector about the given normal
vector.
Reflect this vector about the given normal
vector and store the result in dest
.
Set this matrix to a mirror/reflection transformation that reflects through the given plane
specified via the plane normal.
Set this matrix to a mirror/reflection transformation that reflects about a plane
specified via the plane orientation and a point on the plane.
Set this matrix to a mirror/reflection transformation that reflects about the given plane
specified via the plane normal and a point on the plane.
Set this matrix to a mirror/reflection transformation that reflects about a plane
specified via the plane orientation and a point on the plane.
Set this matrix to a mirror/reflection transformation that reflects about the given plane
specified via the plane normal and a point on the plane.
Apply a rotation transformation, rotating the given radians about the specified axis, to this matrix.
Apply a rotation transformation, rotating the given radians about the specified axis and store the result in dest
.
Apply a rotation transformation, rotating the given radians about the specified axis and store the result in dest
.
Apply a rotation transformation, rotating the given radians about the specified axis, to this matrix.
Apply a rotation transformation, rotating the given radians about the specified axis and store the result in dest
.
Apply a rotation transformation, rotating the given radians about the specified axis and store the result in dest
.
Apply a rotation transformation, rotating the given radians about the specified axis, to this matrix.
Apply a rotation transformation, rotating the given radians about the specified axis and store the result in dest
.
Apply a rotation transformation, rotating the given radians about the specified axis and store the result in dest
.
Apply a rotation transformation, rotating the given radians about the specified axis, to this matrix.
Apply a rotation transformation, rotating the given radians about the specified axis and store the result in dest
.
Apply a rotation transformation, rotating the given radians about the specified axis and store the result in dest
.
Apply a rotation transformation, rotating the given radians about the specified axis, to this matrix.
Apply a rotation transformation, rotating the given radians about the specified axis and store the result in dest
.
Apply a rotation transformation, rotating the given radians about the specified axis and store the result in dest
.
Apply a rotation transformation, rotating the given radians about the specified axis, to this matrix.
Apply a rotation transformation, rotating the given radians about the specified axis and store the result in dest
.
Apply a rotation transformation, rotating the given radians about the specified axis and store the result in dest
.
Apply a rotation to this
quaternion rotating the given radians about the specified axis.
Apply a rotation to this
quaternion rotating the given radians about the specified axis
and store the result in dest
.
Apply a rotation to this
that rotates the fromDir
vector to point along toDir
.
Apply a rotation to this
that rotates the fromDir
vector to point along toDir
and
store the result in dest
.
Apply a model transformation to this matrix for a right-handed coordinate system,
that aligns the local +Z
axis with direction
.
Apply a model transformation to this matrix for a right-handed coordinate system,
that aligns the local +Z
axis with direction
and store the result in dest
.
Apply a model transformation to this matrix for a right-handed coordinate system,
that aligns the local +Z
axis with direction
and store the result in dest
.
Apply a model transformation to this matrix for a right-handed coordinate system,
that aligns the local +Z
axis with dir
.
Apply a model transformation to this matrix for a right-handed coordinate system,
that aligns the local +Z
axis with dir
and store the result in dest
.
Apply a model transformation to this matrix for a right-handed coordinate system,
that aligns the local +Z
axis with dir
and store the result in dest
.
Apply a model transformation to this matrix for a right-handed coordinate system,
that aligns the local +Z
axis with dir
.
Apply a model transformation to this matrix for a right-handed coordinate system,
that aligns the local +Z
axis with dir
and store the result in dest
.
Apply a model transformation to this matrix for a right-handed coordinate system,
that aligns the local +Z
axis with dir
and store the result in dest
.
Apply rotation of angles.x
radians about the X axis, followed by a rotation of angles.y
radians about the Y axis and
followed by a rotation of angles.z
radians about the Z axis.
Set this matrix to a rotation matrix which rotates the given radians about a given axis.
Set this matrix to a rotation matrix which rotates the given radians about a given axis.
Set this matrix to a rotation matrix which rotates the given radians about a given axis.
Set this matrix to a rotation matrix which rotates the given radians about a given axis.
Set this matrix to a rotation matrix which rotates the given radians about a given axis.
Set this matrix to a rotation matrix which rotates the given radians about a given axis.
Set this quaternion to a rotation of the given angle in radians about the supplied axis.
Set this
quaternion to a rotation that rotates the fromDir
vector to point along toDir
.
Compute the quaternion representing a rotation of this
vector to point along toDir
and store the result in dest
.
Set this matrix to a model transformation for a right-handed coordinate system,
that aligns the local -z
axis with center - eye
.
Set this matrix to a model transformation for a right-handed coordinate system,
that aligns the local -z
axis with dir
.
Set this matrix to a model transformation for a right-handed coordinate system,
that aligns the local -z
axis with dir
.
Apply scaling to this matrix by scaling the base axes by the given xyz.x
,
xyz.y
and xyz.z
factors, respectively.
Apply scaling to this
matrix by scaling the base axes by the given xyz.x
,
xyz.y
and xyz.z
factors, respectively and store the result in dest
.
Apply scaling to this matrix by scaling the base axes by the given xyz.x
,
xyz.y
and xyz.z
factors, respectively.
Apply scaling to this
matrix by scaling the base axes by the given xyz.x
,
xyz.y
and xyz.z
factors, respectively and store the result in dest
.
Apply scaling to this matrix by scaling the base axes by the given xyz.x
,
xyz.y
and xyz.z
factors, respectively.
Apply scaling to this
matrix by scaling the base axes by the given xyz.x
,
xyz.y
and xyz.z
factors, respectively and store the result in dest
.
Set this matrix to be a simple scale matrix which scales the base axes by xyz.x
, xyz.y
and xyz.z
respectively.
Set this matrix to be a simple scale matrix which scales the base axes by xyz.x
, xyz.y
and xyz.z
respectively.
Set this matrix to be a simple scale matrix which scales the base axes by xyz.x
, xyz.y
and xyz.z
respectively.
Set the three columns of this matrix to the supplied vectors, respectively.
Set the four columns of this matrix to the supplied vectors, respectively.
Set the x, y and z components to match the supplied vector.
Set the x, y and z components to match the supplied vector.
Set the x, y, and z components of this to the components of
v
and the w component to w
.
Set the first three components of this to the components of
v
and the last component to w
.
Set the column at the given column
index, starting with 0
.
Set the column at the given column
index, starting with 0
.
Set this matrix to a rotation transformation to make -z
point along dir
.
Set this matrix to a rotation transformation to make -z
point along dir
.
Set this matrix to a rotation transformation to make -z
point along dir
.
Set this matrix to be a "lookat" transformation for a right-handed coordinate system, that aligns
-z
with center - eye
.
Set this matrix to be a "lookat" transformation for a right-handed coordinate system, that aligns
-z
with center - eye
.
Set this matrix to be a "lookat" transformation for a left-handed coordinate system, that aligns
+z
with center - eye
.
Set this matrix to be a "lookat" transformation for a left-handed coordinate system, that aligns
+z
with center - eye
.
Set the row at the given row
index, starting with 0
.
Set only the translation components (m30, m31, m32)
of this matrix to the values (xyz.x, xyz.y, xyz.z)
.
Set only the translation components (m30, m31, m32)
of this matrix to the values (xyz.x, xyz.y, xyz.z)
.
Compute a smooth-step (i.e.
Subtract the supplied vector from this one.
Subtract the supplied vector from this one and store the result in dest
.
Subtract the supplied vector from this one and store the result in this
.
Subtract the supplied vector from this one and store the result in dest
.
static void
Calculate the surface tangent for the three supplied vertices and UV coordinates and store the result in dest
.
static void
Calculate the surface tangent and bitangent for the three supplied vertices and UV coordinates and store the result in dest
.
boolean
Test whether the given axis-aligned box is partly or completely within or outside of the frustum defined by this
frustum culler.
static boolean
Test whether the axis-aligned box with minimum corner minA
and maximum corner maxA
intersects the axis-aligned box with minimum corner minB
and maximum corner maxB
.
static boolean
Test whether the axis-aligned box with minimum corner min
and maximum corner max
intersects the plane with the general equation a*x + b*y + c*z + d = 0.
static boolean
Test whether the axis-aligned box with minimum corner min
and maximum corner max
intersects the sphere with the given center
and square radius radiusSquared
.
boolean
Test whether the given line segment, defined by the end points a
and b
,
is partly or completely within the frustum defined by this
frustum culler.
static boolean
Test whether the line segment with the end points p0
and p1
intersects the given sphere with center center
and square radius radiusSquared
.
static boolean
Test whether the line segment with the end points p0
and p1
intersects the triangle consisting of the three vertices (v0X, v0Y, v0Z)
, (v1X, v1Y, v1Z)
and (v2X, v2Y, v2Z)
,
regardless of the winding order of the triangle or the direction of the line segment between its two end points.
boolean
Test whether the given point is within the frustum defined by this
frustum culler.
static boolean
Test whether the ray with the given origin
and direction dir
intersects the axis-aligned box specified as its minimum corner min
and maximum corner max
.
static boolean
Test whether the ray with the given origin
and normalized direction dir
intersects the sphere with the given center
and square radius.
static boolean
Test whether the ray with the given origin
and the given dir
intersects the frontface of the triangle consisting of the three vertices
v0
, v1
and v2
.
static boolean
Test whether the ray with the given origin
and the given dir
intersects the frontface of the triangle consisting of the three vertices
v0
, v1
and v2
.
boolean
Test whether the given sphere is partly or completely within or outside of the frustum defined by this
frustum culler.
static boolean
Test whether the one sphere with center centerA
and square radius radiusSquaredA
intersects the other
sphere with center centerB
and square radius radiusSquaredB
.
Transform the given vector by the rotation transformation described by this
AxisAngle4d
and store the result in
dest
.
Transform the given vector by the rotation transformation described by this
AxisAngle4f
and store the result in
dest
.
Transform the given vector by this matrix and store the result in dest
.
Transform the given vector by this matrix and store the result in dest
.
Transform the given vector by this quaternion and store the result in dest
.
Transform the given vector by this quaternion
and store the result in dest
.
Transform the axis-aligned box given as the minimum corner
min
and maximum corner
max
by
this
affine
matrix and compute the axis-aligned box of the result whose minimum corner is stored in
outMin
and maximum corner stored in
outMax
.
Transform the axis-aligned box given as the minimum corner min
and maximum corner max
by this
matrix and compute the axis-aligned box of the result whose minimum corner is stored in outMin
and maximum corner stored in outMax
.
Transform/multiply the given 3D-vector, as if it was a 4D-vector with w=0, by
this matrix and store the result in dest
.
Transform/multiply the given 3D-vector, as if it was a 4D-vector with w=0, by
this matrix and store the result in dest
.
Transform/multiply the given 3D-vector, as if it was a 4D-vector with w=0, by
this matrix and store the result in dest
.
Transform the given vector by the inverse of this quaternion and store the result in dest
.
Transform the given vector by the inverse of quaternion
and store the result in dest
.
Transform the given vector by the inverse of this unit quaternion and store the result in dest
.
Transform the given vector by the inverse of this unit quaternion
and store the result in dest
.
Transform/multiply the given 3D-vector, as if it was a 4D-vector with w=1, by
this matrix and store the result in dest
.
Transform/multiply the given 3D-vector, as if it was a 4D-vector with w=1, by
this matrix and store the result in dest
.
Transform/multiply the given vector by this matrix, perform perspective divide and store the result in dest
.
Transform the given vector by the transpose of this matrix and store the result in dest
.
Transform the given vector by this unit quaternion and store the result in dest
.
Transform the given vector by this unit quaternion
and store the result in dest
.
Apply a translation to this matrix by translating by the given number of
units in x, y and z.
Apply a translation to this matrix by translating by the given number of
units in x, y and z and store the result in dest
.
Apply a translation to this matrix by translating by the given number of
units in x, y and z and store the result in dest
.
Apply a translation to this matrix by translating by the given number of
units in x, y and z.
Apply a translation to this matrix by translating by the given number of
units in x, y and z and store the result in dest
.
Apply a translation to this matrix by translating by the given number of
units in x, y and z and store the result in dest
.
Apply a translation to this matrix by translating by the given number of
units in x, y and z.
Apply a translation to this matrix by translating by the given number of
units in x, y and z and store the result in dest
.
Apply a translation to this matrix by translating by the given number of
units in x, y and z and store the result in dest
.
Apply a translation to this matrix by translating by the given number of
units in x, y and z.
Apply a translation to this matrix by translating by the given number of
units in x, y and z and store the result in dest
.
Apply a translation to this matrix by translating by the given number of
units in x, y and z and store the result in dest
.
Pre-multiply a translation to this matrix by translating by the given number of
units in x, y and z.
Pre-multiply a translation to this matrix by translating by the given number of
units in x, y and z and store the result in dest
.
Pre-multiply a translation to this matrix by translating by the given number of
units in x, y and z and store the result in dest
.
Pre-multiply a translation to this matrix by translating by the given number of
units in x, y and z.
Pre-multiply a translation to this matrix by translating by the given number of
units in x, y and z and store the result in dest
.
Pre-multiply a translation to this matrix by translating by the given number of
units in x, y and z and store the result in dest
.
Pre-multiply a translation to this matrix by translating by the given number of
units in x, y and z.
Pre-multiply a translation to this matrix by translating by the given number of
units in x, y and z and store the result in dest
.
Pre-multiply a translation to this matrix by translating by the given number of
units in x, y and z and store the result in dest
.
Pre-multiply a translation to this matrix by translating by the given number of
units in x, y and z.
Pre-multiply a translation to this matrix by translating by the given number of
units in x, y and z and store the result in dest
.
Pre-multiply a translation to this matrix by translating by the given number of
units in x, y and z and store the result in dest
.
Set this matrix to be a simple translation matrix.
Set this matrix to be a simple translation matrix.
Set this matrix to be a simple translation matrix.
Set this matrix to be a simple translation matrix.
Set this
matrix to T * R
, where T
is the given translation
and
R
is a rotation transformation specified by the given quaternion.
Set this
matrix to T * R
, where T
is the given translation
and
R
is a rotation transformation specified by the given quaternion.
Set this
matrix to (T * R)-1
, where T
is the given translation
and
R
is a rotation transformation specified by the given quaternion.
Set this
matrix to (T * R)-1
, where T
is the given translation
and
R
is a rotation transformation specified by the given quaternion.
Set this
matrix to (T * R)-1
, where T
is the given translation
and
R
is a rotation transformation specified by the given quaternion.
Set this
matrix to T * R * S
, where T
is the given translation
,
R
is a rotation transformation specified by the given quaternion, and S
is a scaling transformation
which scales all three axes by scale
.
Set this
matrix to T * R * S
, where T
is the given translation
,
R
is a rotation transformation specified by the given quaternion, and S
is a scaling transformation
which scales the axes by scale
.
Set this
matrix to T * R * S
, where T
is the given translation
,
R
is a rotation transformation specified by the given quaternion, and S
is a scaling transformation
which scales all three axes by scale
.
Set this
matrix to T * R * S
, where T
is the given translation
,
R
is a rotation transformation specified by the given quaternion, and S
is a scaling transformation
which scales the axes by scale
.
Set this
matrix to T * R * S
, where T
is the given translation
,
R
is a rotation transformation specified by the given quaternion, and S
is a scaling transformation
which scales the axes by scale
.
Set this
matrix to T * R * S
, where T
is the given translation
,
R
is a rotation transformation specified by the given quaternion, and S
is a scaling transformation
which scales the axes by scale
.
Set this
matrix to (T * R * S)-1
, where T
is the given translation
,
R
is a rotation transformation specified by the given quaternion, and S
is a scaling transformation
which scales all three axes by scale
.
Set this
matrix to (T * R * S)-1
, where T
is the given translation
,
R
is a rotation transformation specified by the given quaternion, and S
is a scaling transformation
which scales the axes by scale
.
Set this
matrix to (T * R * S)-1
, where T
is the given translation
,
R
is a rotation transformation specified by the given quaternion, and S
is a scaling transformation
which scales all three axes by scale
.
Set this
matrix to (T * R * S)-1
, where T
is the given translation
,
R
is a rotation transformation specified by the given quaternion, and S
is a scaling transformation
which scales the axes by scale
.
Set this
matrix to T * R * S * M
, where T
is the given translation
,
R
is a rotation transformation specified by the given quaternion, S
is a scaling transformation
which scales the axes by scale
.
Set
this
matrix to
T * R * S * M
, where
T
is the given
translation
,
R
is a rotation - and possibly scaling - transformation specified by the given quaternion,
S
is a scaling transformation
which scales the axes by
scale
and
M
is an
affine
matrix.
Set
this
matrix to
T * R * S * M
, where
T
is the given
translation
,
R
is a rotation - and possibly scaling - transformation specified by the given quaternion,
S
is a scaling transformation
which scales the axes by
scale
and
M
is an
affine
matrix.
Set this matrix to a model transformation for a right-handed coordinate system,
that translates to the given pos
and aligns the local -z
axis with dir
.
Set this matrix to a model transformation for a right-handed coordinate system,
that translates to the given pos
and aligns the local -z
axis with dir
.
Unproject the given window coordinates winCoords
by this
matrix using the specified viewport.
Unproject the given window coordinates winCoords
by this
matrix using the specified viewport.
Unproject the given window coordinates winCoords
by this
matrix using the specified viewport.
Unproject the given window coordinates winCoords
by this
matrix using the specified viewport.