Package | Description |
---|---|
org.synthclipse.core.math | |
org.synthclipse.core.uniform | |
org.synthclipse.scripting.core | |
org.synthclipse.scripting.gl |
Modifier and Type | Field and Description |
---|---|
static Vector4f |
Vector4f.NAN |
static Vector4f |
Vector4f.NEGATIVE_INFINITY |
static Vector4f |
Vector4f.POSITIVE_INFINITY |
static Vector4f |
Vector4f.UNIT_W |
static Vector4f |
Vector4f.UNIT_X |
static Vector4f |
Vector4f.UNIT_XYZW |
static Vector4f |
Vector4f.UNIT_Y |
static Vector4f |
Vector4f.UNIT_Z |
static Vector4f |
Vector4f.ZERO |
Modifier and Type | Method and Description |
---|---|
Vector4f |
Vector4f.add(float addX,
float addY,
float addZ,
float addW)
add adds the provided values to this vector, creating a
new vector that is then returned. |
Vector4f |
Vector4f.add(Vector4f vec)
add adds a provided vector to this vector creating a
resultant vector which is returned. |
Vector4f |
Vector4f.add(Vector4f vec,
Vector4f result)
add adds the values of a provided vector storing the
values in the supplied vector. |
Vector4f |
Vector4f.addLocal(float addX,
float addY,
float addZ,
float addW)
addLocal adds the provided values to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
Vector4f.addLocal(Vector4f vec)
addLocal adds a provided vector to this vector internally,
and returns a handle to this vector for easy chaining of calls. |
Vector4f |
Vector4f.clone() |
Vector4f |
Vector4f.copy() |
Vector4f |
Vector4f.divide(float scalar)
divide divides the values of this vector by a scalar and
returns the result. |
Vector4f |
Vector4f.divide(Vector4f scalar)
divide divides the values of this vector by a scalar and
returns the result. |
Vector4f |
Vector4f.divideLocal(float scalar)
divideLocal divides this vector by a scalar internally,
and returns a handle to this vector for easy chaining of calls. |
Vector4f |
Vector4f.divideLocal(Vector4f scalar)
divideLocal divides this vector by a scalar internally,
and returns a handle to this vector for easy chaining of calls. |
Vector4f |
Vector4f.interpolate(Vector4f finalVec,
float changeAmnt)
Sets this vector to the interpolation by changeAmnt from this to the finalVec
this=(1-changeAmnt)*this + changeAmnt * finalVec
|
Vector4f |
Vector4f.interpolate(Vector4f beginVec,
Vector4f finalVec,
float changeAmnt)
Sets this vector to the interpolation by changeAmnt from beginVec to finalVec
this=(1-changeAmnt)*beginVec + changeAmnt * finalVec
|
Vector4f |
Vector4f.maxLocal(Vector4f other)
maxLocal computes the maximum value for each
component in this and other vector. |
Vector4f |
Vector4f.minLocal(Vector4f other)
minLocal computes the minimum value for each
component in this and other vector. |
Vector4f |
Vector4f.mult(float scalar)
mult multiplies this vector by a scalar. |
Vector4f |
Vector4f.mult(float scalar,
Vector4f product)
mult multiplies this vector by a scalar. |
Vector4f |
Vector4f.mult(Vector4f vec)
multLocal multiplies a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
Matrix4f.mult(Vector4f vec)
mult multiplies a Vector4f about a rotation
matrix. |
Vector4f |
Vector4f.mult(Vector4f vec,
Vector4f store)
multLocal multiplies a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
Matrix4f.mult(Vector4f vec,
Vector4f store)
mult multiplies a Vector4f about a rotation
matrix. |
Vector4f |
Matrix4f.multAcross(Vector4f vec)
mult multiplies a vector about a rotation matrix. |
Vector4f |
Matrix4f.multAcross(Vector4f vec,
Vector4f store)
mult multiplies a vector about a rotation matrix. |
Vector4f |
Vector4f.multLocal(float scalar)
multLocal multiplies this vector by a scalar internally,
and returns a handle to this vector for easy chaining of calls. |
Vector4f |
Vector4f.multLocal(float x,
float y,
float z,
float w)
multLocal multiplies this vector by 3 scalars
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
Vector4f.multLocal(Vector4f vec)
multLocal multiplies a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
Vector4f.negate()
negate returns the negative of this vector. |
Vector4f |
Vector4f.negateLocal()
negateLocal negates the internal values of this vector. |
Vector4f |
Vector4f.normalize()
normalize returns the unit vector of this vector. |
Vector4f |
Vector4f.normalizeLocal()
normalizeLocal makes this vector into a unit vector of
itself. |
Vector4f |
Vector4f.project(Vector4f other) |
Vector4f |
Vector4f.scaleAdd(float scalar,
Vector4f add)
scaleAdd multiplies this vector by a scalar then adds the
given Vector3f. |
Vector4f |
Vector4f.scaleAdd(float scalar,
Vector4f mult,
Vector4f add)
scaleAdd multiplies the given vector by a scalar then adds
the given vector. |
Vector4f |
Vector4f.set(float x,
float y,
float z,
float w)
set sets the x,y,z,w values of the vector based on passed
parameters. |
Vector4f |
Vector4f.set(Vector4f vect)
set sets the x,y,z values of the vector by copying the
supplied vector. |
Vector4f |
Vector4f.setW(float w) |
Vector4f |
Vector4f.setX(float x) |
Vector4f |
Vector4f.setY(float y) |
Vector4f |
Vector4f.setZ(float z) |
Vector4f |
Vector4f.subtract(float subtractX,
float subtractY,
float subtractZ,
float subtractW)
subtract subtracts the provided values from this vector,
creating a new vector that is then returned. |
Vector4f |
Vector4f.subtract(Vector4f vec)
subtract subtracts the values of a given vector from those
of this vector creating a new vector object. |
Vector4f |
Vector4f.subtract(Vector4f vec,
Vector4f result)
subtract |
Vector4f |
Vector4f.subtractLocal(float subtractX,
float subtractY,
float subtractZ,
float subtractW)
subtractLocal subtracts the provided values from this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
Vector4f.subtractLocal(Vector4f vec)
subtractLocal subtracts a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
ColorRGBA.toVector4f()
Transform this
ColorRGBA to a Vector4f using x
= r, y = g, z = b, w = a. |
Vector4f |
ColorRGB.toVector4f()
Transform this
ColorRGBA to a Vector4f using x
= r, y = g, z = b, w = a. |
Vector4f |
Vector4f.zero()
zero resets this vector's data to zero internally. |
Modifier and Type | Method and Description |
---|---|
Vector4f |
Vector4f.add(Vector4f vec)
add adds a provided vector to this vector creating a
resultant vector which is returned. |
Vector4f |
Vector4f.add(Vector4f vec,
Vector4f result)
add adds the values of a provided vector storing the
values in the supplied vector. |
Vector4f |
Vector4f.addLocal(Vector4f vec)
addLocal adds a provided vector to this vector internally,
and returns a handle to this vector for easy chaining of calls. |
float |
Vector4f.angleBetween(Vector4f otherVector)
angleBetween returns (in radians) the angle between two vectors. |
float |
Vector4f.distance(Vector4f v)
distance calculates the distance between this vector and
vector v. |
float |
Vector4f.distanceSquared(Vector4f v)
distanceSquared calculates the distance squared between
this vector and vector v. |
Vector4f |
Vector4f.divide(Vector4f scalar)
divide divides the values of this vector by a scalar and
returns the result. |
Vector4f |
Vector4f.divideLocal(Vector4f scalar)
divideLocal divides this vector by a scalar internally,
and returns a handle to this vector for easy chaining of calls. |
float |
Vector4f.dot(Vector4f vec)
dot calculates the dot product of this vector with a
provided vector. |
Vector4f |
Vector4f.interpolate(Vector4f finalVec,
float changeAmnt)
Sets this vector to the interpolation by changeAmnt from this to the finalVec
this=(1-changeAmnt)*this + changeAmnt * finalVec
|
Vector4f |
Vector4f.interpolate(Vector4f beginVec,
Vector4f finalVec,
float changeAmnt)
Sets this vector to the interpolation by changeAmnt from beginVec to finalVec
this=(1-changeAmnt)*beginVec + changeAmnt * finalVec
|
static boolean |
Vector4f.isValidVector(Vector4f vector)
Check a vector...
|
Vector4f |
Vector4f.maxLocal(Vector4f other)
maxLocal computes the maximum value for each
component in this and other vector. |
Vector4f |
Vector4f.minLocal(Vector4f other)
minLocal computes the minimum value for each
component in this and other vector. |
Vector4f |
Vector4f.mult(float scalar,
Vector4f product)
mult multiplies this vector by a scalar. |
Vector4f |
Vector4f.mult(Vector4f vec)
multLocal multiplies a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
Matrix4f.mult(Vector4f vec)
mult multiplies a Vector4f about a rotation
matrix. |
Vector4f |
Vector4f.mult(Vector4f vec,
Vector4f store)
multLocal multiplies a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
Matrix4f.mult(Vector4f vec,
Vector4f store)
mult multiplies a Vector4f about a rotation
matrix. |
Vector4f |
Matrix4f.multAcross(Vector4f vec)
mult multiplies a vector about a rotation matrix. |
Vector4f |
Matrix4f.multAcross(Vector4f vec,
Vector4f store)
mult multiplies a vector about a rotation matrix. |
Vector4f |
Vector4f.multLocal(Vector4f vec)
multLocal multiplies a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector4f |
Vector4f.project(Vector4f other) |
Vector4f |
Vector4f.scaleAdd(float scalar,
Vector4f add)
scaleAdd multiplies this vector by a scalar then adds the
given Vector3f. |
Vector4f |
Vector4f.scaleAdd(float scalar,
Vector4f mult,
Vector4f add)
scaleAdd multiplies the given vector by a scalar then adds
the given vector. |
Vector4f |
Vector4f.set(Vector4f vect)
set sets the x,y,z values of the vector by copying the
supplied vector. |
Vector4f |
Vector4f.subtract(Vector4f vec)
subtract subtracts the values of a given vector from those
of this vector creating a new vector object. |
Vector4f |
Vector4f.subtract(Vector4f vec,
Vector4f result)
subtract |
Vector4f |
Vector4f.subtractLocal(Vector4f vec)
subtractLocal subtracts a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Constructor and Description |
---|
Vector4f(Vector4f copy)
Constructor instantiates a new
Vector3f that is a copy
of the provided vector |
Modifier and Type | Method and Description |
---|---|
Vector4f |
SliderVec4UC.getDefaultMaxValue() |
Vector4f |
SliderVec4UC.getDefaultMinValue() |
Vector4f |
SliderVec4UC.getDefaultStepSize() |
Vector4f |
SliderVec4UC.getDefaultValue() |
Vector4f |
SliderVec4UC.getMaxValue() |
Vector4f |
SliderVec4UC.getMinValue() |
Vector4f |
SliderVec4UC.getStepSize() |
static Vector4f |
DefaultStepSizeProvider.getStepSize(Vector4f minValue,
Vector4f maxValue) |
Vector4f |
SliderVec4UC.getValue() |
Modifier and Type | Method and Description |
---|---|
static Vector4f |
DefaultStepSizeProvider.getStepSize(Vector4f minValue,
Vector4f maxValue) |
void |
SliderVec4UC.setDefaultMaxValue(Vector4f defaultMaxValue) |
void |
SliderVec4UC.setDefaultMinValue(Vector4f defaultMinValue) |
void |
SliderVec4UC.setDefaultStepSize(Vector4f defaultStepSize) |
void |
SliderVec4UC.setDefaultValue(Vector4f defaultValue) |
void |
SliderVec4UC.setMaxValue(Vector4f maxValue) |
void |
SliderVec4UC.setMinValue(Vector4f minValue) |
void |
SliderVec4UC.setStepSize(Vector4f stepSize) |
void |
SliderVec4UC.setValue(Vector4f value) |
Modifier and Type | Method and Description |
---|---|
Vector4f |
JSNative.newVector4()
Creates a new 4D Vector with all components being zeros.
|
Vector4f |
JSNative.newVector4(float x,
float y,
float z,
float w)
Creates a new 4D Vector.
|
Modifier and Type | Method and Description |
---|---|
void |
JSFragxRenderer.setPostprocessUniform(int location,
Vector4f v)
Sets uniform variable of the postprocessing shader with GLSL's type
vec4 . |
void |
JSFragxRenderer.setPostprocessUniform(String name,
Vector4f v)
Sets uniform variable of the postprocessing shader with GLSL's type
vec4 . |
void |
JSFragxRenderer.setUniform(int location,
Vector4f v)
Sets uniform variable with GLSL's type
vec4 . |
void |
JSFragxRenderer.setUniform(String name,
Vector4f v)
Sets uniform variable with GLSL's type
vec4 . |
Modifier and Type | Method and Description |
---|---|
void |
GLSLProgram.setUniform(int location,
Vector4f v)
Sets uniform variable with GLSL's type
vec4 . |
void |
GLSLProgram.setUniform(String name,
Vector4f v)
Sets uniform variable with GLSL's type
vec4 . |