Maven module :un.api : api-math :
Class :
un.impl.math.Vectors
Extends/Implements : -
Subclasses : -
Variables : -
Functions :
length,
length,
lengthSquare,
lengthSquare,
shortestAngle,
shortestAngle,
clampEuler,
cos,
cos,
sin,
sin,
reflect,
add,
add,
subtract,
subtract,
multiply,
multiply,
divide,
divide,
scale,
scale,
cross,
cross,
dot,
dot,
normalize,
normalize,
negate,
negate,
lerp,
lerp,
add,
add,
subtract,
subtract,
multiply,
multiply,
divide,
divide,
scale,
scale,
cross,
cross,
normalize,
normalize,
negate,
negate,
lerp,
lerp,
add,
add,
addRegular,
addRegular,
subtract,
subtract,
subtractRegular,
subtractRegular,
scaleRegular,
scaleRegular,
multiplyRegular,
multiplyRegular,
divideRegular,
divideRegular,
cartesianToPolar,
cartesianToPolar,
polarToCartesian,
polarToCartesian,
cartesianToCylindrical,
cartesianToCylindrical,
cylindricalToCartesian,
cylindricalToCartesian,
cartesianToSpherical,
cartesianToSpherical,
sphericalToCartesian,
sphericalToCartesian
public double
length (double[] vector)
public float
length (float[] vector)
public double
lengthSquare (double[] vector)
public float
lengthSquare (float[] vector)
public double
shortestAngle (double[] vector, double[] other)
public float
shortestAngle (float[] vector, float[] other)
public void
clampEuler (double[] euler)
public double
cos (double[] vector, double[] other)
public float
cos (float[] vector, float[] other)
public double
sin (double[] vector, double[] other)
public float
sin (float[] vector, float[] other)
public double[]
reflect (double[] vector, double[] normal)
public double[]
add (double[] vector, double[] other)
public float[]
add (float[] vector, float[] other)
public double[]
subtract (double[] vector, double[] other)
public float[]
subtract (float[] vector, float[] other)
public double[]
multiply (double[] vector, double[] other)
public float[]
multiply (float[] vector, float[] other)
public double[]
divide (double[] vector, double[] other)
public float[]
divide (float[] vector, float[] other)
public double[]
scale (double[] vector, double scale)
public float[]
scale (float[] vector, float scale)
public double[]
cross (double[] vector, double[] other)
public float[]
cross (float[] vector, float[] other)
public double
dot (double[] vector, double[] other)
public float
dot (float[] vector, float[] other)
public double[]
normalize (double[] vector)
public float[]
normalize (float[] vector)
public double[]
negate (double[] vector)
public float[]
negate (float[] vector)
public double[]
lerp (double[] start, double[] end, double ratio)
public float[]
lerp (float[] start, float[] end, float ratio)
public double[]
add (double[] vector, double[] other, double[] buffer)
public float[]
add (float[] vector, float[] other, float[] buffer)
public double[]
subtract (double[] vector, double[] other, double[] buffer)
public float[]
subtract (float[] vector, float[] other, float[] buffer)
public double[]
multiply (double[] vector, double[] other, double[] buffer)
public float[]
multiply (float[] vector, float[] other, float[] buffer)
public double[]
divide (double[] vector, double[] other, double[] buffer)
public float[]
divide (float[] vector, float[] other, float[] buffer)
public double[]
scale (double[] vector, double scale, double[] buffer)
public float[]
scale (float[] vector, float scale, float[] buffer)
public double[]
cross (double[] vector, double[] other, double[] buffer)
public float[]
cross (float[] vector, float[] other, float[] buffer)
public double[]
normalize (double[] vector, double[] buffer)
public float[]
normalize (float[] vector, float[] buffer)
public double[]
negate (double[] vector, double[] buffer)
public float[]
negate (float[] vector, float[] buffer)
public double[]
lerp (double[] start, double[] end, double ratio, double[] buffer)
public float[]
lerp (float[] start, float[] end, float ratio, float[] buffer)
public double[]
add (double[] source1, double[] source2, double[] buffer, int source1Offset, int source2Offset, int bufferOffset, int tupleSize, int nbTuple)
public float[]
add (float[] source1, float[] source2, float[] buffer, int source1Offset, int source2Offset, int bufferOffset, int tupleSize, int nbTuple)
public double[]
addRegular (double[] source1, double[] buffer, int source1Offset, int bufferOffset, double[] addition, int nbTuple)
public float[]
addRegular (float[] source1, float[] buffer, int source1Offset, int bufferOffset, float[] addition, int nbTuple)
public double[]
subtract (double[] source1, double[] source2, double[] buffer, int source1Offset, int source2Offset, int bufferOffset, int tupleSize, int nbTuple)
public float[]
subtract (float[] source1, float[] source2, float[] buffer, int source1Offset, int source2Offset, int bufferOffset, int tupleSize, int nbTuple)
public double[]
subtractRegular (double[] source1, double[] buffer, int source1Offset, int bufferOffset, double[] substraction, int nbTuple)
public float[]
subtractRegular (float[] source1, float[] buffer, int source1Offset, int bufferOffset, float[] substraction, int nbTuple)
public double[]
scaleRegular (double[] source1, double[] buffer, int source1Offset, int bufferOffset, double scale, int tupleSize, int nbTuple)
public float[]
scaleRegular (float[] source1, float[] buffer, int source1Offset, int bufferOffset, float scale, int tupleSize, int nbTuple)
public double[]
multiplyRegular (double[] source1, double[] buffer, int source1Offset, int bufferOffset, double[] scale, int nbTuple)
public float[]
multiplyRegular (float[] source1, float[] buffer, int source1Offset, int bufferOffset, float[] scale, int nbTuple)
public double[]
divideRegular (double[] source1, double[] buffer, int source1Offset, int bufferOffset, double[] scale, int nbTuple)
public float[]
divideRegular (float[] source1, float[] buffer, int source1Offset, int bufferOffset, float[] scale, int nbTuple)
public double[]
cartesianToPolar (double[] cartesian)
public float[]
cartesianToPolar (float[] cartesian)
public double[]
polarToCartesian (double[] polar)
public float[]
polarToCartesian (float[] polar)
public double[]
cartesianToCylindrical (double[] cartesian)
public float[]
cartesianToCylindrical (float[] cartesian)
public double[]
cylindricalToCartesian (double[] cylindrical)
public float[]
cylindricalToCartesian (float[] cylindrical)
public double[]
cartesianToSpherical (double[] cartesian)
public float[]
cartesianToSpherical (float[] cartesian)
public double[]
sphericalToCartesian (double[] spherical)
public float[]
sphericalToCartesian (float[] spherical)
author Bertrand COTE