Vector2d |
Vector2d.add(Vector2fc v) |
Add v to this vector.
|
Vector2d |
Vector2d.add(Vector2fc v,
Vector2d dest) |
|
Vector2d |
Vector2dc.add(Vector2fc v,
Vector2d dest) |
Add v to this vector and store the result in dest.
|
Vector2f |
Vector2f.add(Vector2fc v) |
Add v to this vector.
|
Vector2f |
Vector2f.add(Vector2fc v,
Vector2f dest) |
|
Vector2f |
Vector2fc.add(Vector2fc v,
Vector2f dest) |
Add the supplied vector to this one and store the result in
dest.
|
float |
Vector2f.angle(Vector2fc v) |
|
float |
Vector2fc.angle(Vector2fc v) |
Return the angle between this vector and the supplied vector.
|
static void |
GeometryUtils.bitangent(Vector3fc v1,
Vector2fc uv1,
Vector3fc v2,
Vector2fc uv2,
Vector3fc v3,
Vector2fc uv3,
Vector3f dest) |
Calculate the surface bitangent for the three supplied vertices and UV coordinates and store the result in dest.
|
double |
Vector2d.distance(Vector2fc v) |
|
double |
Vector2dc.distance(Vector2fc v) |
Return the distance between this and v.
|
float |
Vector2f.distance(Vector2fc v) |
|
float |
Vector2fc.distance(Vector2fc v) |
Return the distance between this and v.
|
double |
Vector2d.distanceSquared(Vector2fc v) |
|
double |
Vector2dc.distanceSquared(Vector2fc v) |
Return the distance squared between this and v.
|
float |
Vector2f.distanceSquared(Vector2fc v) |
|
float |
Vector2fc.distanceSquared(Vector2fc v) |
Return the distance squared between this and v.
|
Vector2d |
Vector2d.div(Vector2fc v) |
Divide this Vector3d component-wise by another Vector2fc.
|
Vector2d |
Vector2d.div(Vector2fc v,
Vector2d dest) |
|
Vector2d |
Vector2dc.div(Vector2fc v,
Vector2d dest) |
Divide this Vector2d component-wise by another Vector2f and store the result in dest.
|
Vector2f |
Vector2f.div(Vector2fc v) |
Divide this Vector2f component-wise by another Vector2fc.
|
Vector2f |
Vector2f.div(Vector2fc v,
Vector2f dest) |
|
Vector2f |
Vector2fc.div(Vector2fc v,
Vector2f dest) |
Divide this Vector2f component-wise by another Vector2fc
and store the result in dest.
|
float |
Vector2f.dot(Vector2fc v) |
|
float |
Vector2fc.dot(Vector2fc v) |
Return the dot product of this vector and v.
|
boolean |
Vector2f.equals(Vector2fc v,
float delta) |
|
boolean |
Vector2fc.equals(Vector2fc v,
float delta) |
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.
|
Vector2f |
Vector2f.fma(float a,
Vector2fc b) |
Add the component-wise multiplication of a * b to this vector.
|
Vector2f |
Vector2f.fma(float a,
Vector2fc b,
Vector2f dest) |
|
Vector2f |
Vector2f.fma(Vector2fc a,
Vector2fc b) |
Add the component-wise multiplication of a * b to this vector.
|
Vector2f |
Vector2f.fma(Vector2fc a,
Vector2fc b,
Vector2f dest) |
|
Vector2f |
Vector2fc.fma(float a,
Vector2fc b,
Vector2f dest) |
Add the component-wise multiplication of a * b to this vector
and store the result in dest.
|
Vector2f |
Vector2fc.fma(Vector2fc a,
Vector2fc b,
Vector2f dest) |
Add the component-wise multiplication of a * b to this vector
and store the result in dest.
|
Vector2f |
Vector2f.lerp(Vector2fc other,
float t) |
Linearly interpolate this and other using the given interpolation factor t
and store the result in this.
|
Vector2f |
Vector2f.lerp(Vector2fc other,
float t,
Vector2f dest) |
|
Vector2f |
Vector2fc.lerp(Vector2fc other,
float t,
Vector2f dest) |
Linearly interpolate this and other using the given interpolation factor t
and store the result in dest.
|
Vector2f |
Vector2f.max(Vector2fc v) |
Set the components of this vector to be the component-wise maximum of this and the other vector.
|
Vector2f |
Vector2f.max(Vector2fc v,
Vector2f dest) |
|
Vector2f |
Vector2fc.max(Vector2fc v,
Vector2f dest) |
Set the components of dest to be the component-wise maximum of this and the other vector.
|
Vector2f |
Vector2f.min(Vector2fc v) |
Set the components of this vector to be the component-wise minimum of this and the other vector.
|
Vector2f |
Vector2f.min(Vector2fc v,
Vector2f dest) |
|
Vector2f |
Vector2fc.min(Vector2fc v,
Vector2f dest) |
Set the components of dest to be the component-wise minimum of this and the other vector.
|
Vector2f |
Vector2f.mul(Vector2fc v) |
Multiply this Vector2f component-wise by another Vector2f.
|
Vector2f |
Vector2f.mul(Vector2fc v,
Vector2f dest) |
|
Vector2f |
Vector2fc.mul(Vector2fc v,
Vector2f dest) |
Multiply this Vector2f component-wise by another Vector2f and store the result in dest.
|
Matrix3x2f |
Matrix3x2f.rotateTo(Vector2fc fromDir,
Vector2fc toDir) |
Apply a rotation transformation to this matrix that rotates the given normalized fromDir direction vector
to point along the normalized toDir.
|
Matrix3x2f |
Matrix3x2f.rotateTo(Vector2fc fromDir,
Vector2fc toDir,
Matrix3x2f dest) |
Apply a rotation transformation to this matrix that rotates the given normalized fromDir direction vector
to point along the normalized toDir, and store the result in dest.
|
Matrix3x2f |
Matrix3x2fc.rotateTo(Vector2fc fromDir,
Vector2fc toDir,
Matrix3x2f dest) |
Apply a rotation transformation to this matrix that rotates the given normalized fromDir direction vector
to point along the normalized toDir, and store the result in dest.
|
Matrix2f |
Matrix2f.scale(Vector2fc xy) |
Apply scaling to this matrix by scaling the base axes by the given xy.x and
xy.y factors, respectively.
|
Matrix2f |
Matrix2f.scale(Vector2fc xy,
Matrix2f dest) |
|
Matrix2f |
Matrix2fc.scale(Vector2fc xy,
Matrix2f dest) |
Apply scaling to this matrix by scaling the base axes by the given xy.x and
xy.y factors, respectively and store the result in dest.
|
Matrix3x2d |
Matrix3x2d.scale(Vector2fc xy) |
Apply scaling to this matrix by scaling the base axes by the given xy factors.
|
Matrix3x2d |
Matrix3x2d.scale(Vector2fc xy,
Matrix3x2d dest) |
Apply scaling to this matrix by scaling the base axes by the given xy factors
and store the result in dest.
|
Matrix3x2d |
Matrix3x2dc.scale(Vector2fc xy,
Matrix3x2d dest) |
Apply scaling to this matrix by scaling the base axes by the given xy factors
and store the result in dest.
|
Matrix3x2f |
Matrix3x2f.scale(Vector2fc xy) |
Apply scaling to this matrix by scaling the base axes by the given xy factors.
|
Matrix3x2f |
Matrix3x2f.scale(Vector2fc xy,
Matrix3x2f dest) |
Apply scaling to this matrix by scaling the base axes by the given xy factors
and store the result in dest.
|
Matrix3x2f |
Matrix3x2fc.scale(Vector2fc xy,
Matrix3x2f dest) |
Apply scaling to this matrix by scaling the base axes by the given xy factors
and store the result in dest.
|
Matrix2f |
Matrix2f.scaling(Vector2fc xy) |
Set this matrix to be a simple scale matrix which scales the base axes by xy.x and xy.y respectively.
|
Matrix2f |
Matrix2f.set(Vector2fc col0,
Vector2fc col1) |
Set the two columns of this matrix to the supplied vectors, respectively.
|
Vector2d |
Vector2d.set(Vector2fc v) |
|
Vector2f |
Vector2f.set(Vector2fc v) |
|
Vector2i |
Vector2i.set(Vector2fc v,
int mode) |
|
Vector3d |
Vector3d.set(Vector2fc v,
double z) |
Set the first two components from the given v
and the z component from the given z
|
Vector3f |
Vector3f.set(Vector2fc v,
float z) |
Set the first two components from the given v
and the z component from the given z
|
Vector4d |
Vector4d.set(Vector2fc v,
double z,
double w) |
Set the x and y components from the given v
and the z and w components to the given z and w.
|
Vector4f |
Vector4f.set(Vector2fc v,
float z,
float w) |
Sets the first two components of this to the components of given v
and last two components to the given z, and w.
|
Matrix2f |
Matrix2f.setColumn(int column,
Vector2fc src) |
Set the column at the given column index, starting with 0.
|
Matrix2f |
Matrix2f.setRow(int row,
Vector2fc src) |
Set the row at the given row index, starting with 0.
|
Vector2d |
Vector2d.sub(Vector2fc v) |
Subtract v from this vector.
|
Vector2d |
Vector2d.sub(Vector2fc v,
Vector2d dest) |
|
Vector2d |
Vector2dc.sub(Vector2fc v,
Vector2d dest) |
Subtract v from this vector and store the result in dest.
|
Vector2f |
Vector2f.sub(Vector2fc v) |
Subtract v from this vector.
|
Vector2f |
Vector2f.sub(Vector2fc v,
Vector2f dest) |
|
Vector2f |
Vector2fc.sub(Vector2fc v,
Vector2f dest) |
Subtract v from this vector and store the result in dest.
|
static void |
GeometryUtils.tangent(Vector3fc v1,
Vector2fc uv1,
Vector3fc v2,
Vector2fc uv2,
Vector3fc v3,
Vector2fc uv3,
Vector3f dest) |
Calculate the surface tangent for the three supplied vertices and UV coordinates and store the result in dest.
|
static void |
GeometryUtils.tangentBitangent(Vector3fc v1,
Vector2fc uv1,
Vector3fc v2,
Vector2fc uv2,
Vector3fc v3,
Vector2fc uv3,
Vector3f destTangent,
Vector3f destBitangent) |
Calculate the surface tangent and bitangent for the three supplied vertices and UV coordinates and store the result in dest.
|
boolean |
FrustumIntersection.testPlaneXY(Vector2fc min,
Vector2fc max) |
Test whether the given XY-plane (at Z = 0) is partly or completely within or outside of the frustum defined by this frustum culler.
|
Vector2f |
Matrix2f.transform(Vector2fc v,
Vector2f dest) |
|
Vector2f |
Matrix2fc.transform(Vector2fc v,
Vector2f dest) |
Transform the given vector by this matrix and store the result in dest.
|
Vector2f |
Matrix3x2f.transformDirection(Vector2fc v,
Vector2f dest) |
Transform/multiply the given 2D-vector, as if it was a 3D-vector with z=0, by
this matrix and store the result in dest.
|
Vector2f |
Matrix3x2fc.transformDirection(Vector2fc v,
Vector2f dest) |
Transform/multiply the given 2D-vector, as if it was a 3D-vector with z=0, by
this matrix and store the result in dest.
|
Vector2f |
Matrix3x2f.transformPosition(Vector2fc v,
Vector2f dest) |
Transform/multiply the given 2D-vector, as if it was a 3D-vector with z=1, by
this matrix and store the result in dest.
|
Vector2f |
Matrix3x2fc.transformPosition(Vector2fc v,
Vector2f dest) |
Transform/multiply the given 2D-vector, as if it was a 3D-vector with z=1, by
this matrix and store the result in dest.
|
Vector2f |
Matrix2f.transformTranspose(Vector2fc v,
Vector2f dest) |
|
Vector2f |
Matrix2fc.transformTranspose(Vector2fc v,
Vector2f dest) |
Transform the given vector by the transpose of this matrix and store the result in dest.
|
Matrix3x2f |
Matrix3x2f.translate(Vector2fc offset) |
Apply a translation to this matrix by translating by the given number of units in x and y.
|
Matrix3x2f |
Matrix3x2f.translate(Vector2fc offset,
Matrix3x2f dest) |
Apply a translation to this matrix by translating by the given number of units in x and y, and
store the result in dest.
|
Matrix3x2f |
Matrix3x2fc.translate(Vector2fc offset,
Matrix3x2f dest) |
Apply a translation to this matrix by translating by the given number of units in x and y, and
store the result in dest.
|
Matrix3x2f |
Matrix3x2f.translateLocal(Vector2fc offset) |
Pre-multiply a translation to this matrix by translating by the given number of
units in x and y.
|
Matrix3x2f |
Matrix3x2f.translateLocal(Vector2fc offset,
Matrix3x2f dest) |
Pre-multiply a translation to this matrix by translating by the given number of
units in x and y and store the result in dest.
|
Matrix3x2f |
Matrix3x2fc.translateLocal(Vector2fc offset,
Matrix3x2f dest) |
Pre-multiply a translation to this matrix by translating by the given number of
units in x and y and store the result in dest.
|
Matrix3x2f |
Matrix3x2f.translation(Vector2fc offset) |
Set this matrix to be a simple translation matrix in a two-dimensional coordinate system.
|
Matrix4f |
Matrix4f.unprojectInvRay(Vector2fc winCoords,
int[] viewport,
Vector3f originDest,
Vector3f dirDest) |
|
Matrix4f |
Matrix4fc.unprojectInvRay(Vector2fc winCoords,
int[] viewport,
Vector3f originDest,
Vector3f dirDest) |
Unproject the given window coordinates winCoords by this matrix using the specified viewport
and compute the origin and the direction of the resulting ray which starts at NDC z = -1.0 and goes through NDC z = +1.0.
|
Matrix4f |
Matrix4f.unprojectRay(Vector2fc winCoords,
int[] viewport,
Vector3f originDest,
Vector3f dirDest) |
|
Matrix4f |
Matrix4fc.unprojectRay(Vector2fc winCoords,
int[] viewport,
Vector3f originDest,
Vector3f dirDest) |
Unproject the given 2D window coordinates winCoords by this matrix using the specified viewport
and compute the origin and the direction of the resulting ray which starts at NDC z = -1.0 and goes through NDC z = +1.0.
|