| Modifier and Type | Field and Description |
|---|---|
static Vector3f |
Transform.X_AXIS |
static Vector3f |
Transform.Y_AXIS |
static Vector3f |
Transform.Z_AXIS |
| Modifier and Type | Method and Description |
|---|---|
Vector3f |
Transform.getPosition() |
Vector3f |
Transform.getScale() |
Vector3f |
Transform.getTransformedPosition() |
| Modifier and Type | Method and Description |
|---|---|
void |
Transform.faceAt(Vector3f at,
Vector3f up) |
Quaternion |
Transform.getFaceAt(Vector3f at,
Vector3f up) |
void |
Transform.rotate(Vector3f axis,
float angle)
Rotate around the given axis.
|
void |
Transform.setPosition(Vector3f position) |
void |
Transform.setScale(Vector3f scale) |
| Modifier and Type | Field and Description |
|---|---|
static Vector3f |
Vector3f.ONE
Unit Vector (1/1/1)
|
static Vector3f |
Vector3f.UNIT_X
Unit Vector of X (1/0/0)
|
static Vector3f |
Vector3f.UNIT_Y
Unit Vector of Y (0/1/0)
|
static Vector3f |
Vector3f.UNIT_Z
Unit Vector of Z (0/0/1)
|
static Vector3f |
Vector3f.ZERO
Zero Vector (0/0/0)
|
| Modifier and Type | Method and Description |
|---|---|
Vector3f |
Vector3f.abs()
Returns the absolute version of this Vector
|
Vector3f |
Vector3f.add(float v)
Add constant to Vector
|
Vector3f |
Vector3f.add(Vector3f v)
Add two Vectors
|
Vector3f |
Vector3f.addLocal(float v)
Add constant to THIS Vector
|
Vector3f |
Vector3f.addLocal(Vector3f v)
Add Vector to THIS Vector
|
Vector3f |
Vector3f.clamp(float c)
Returns clamped version of this vector
|
Vector3f |
Vector3f.clampLocal(float c)
Clamp all components to the constant c.
|
Vector3f |
Vector3f.clone() |
Vector3f |
Vector3f.cross(Vector3f v)
Cross Product
|
Vector3f |
Vector3f.div(float v) |
Vector3f |
Vector3f.div(Vector3f v) |
Vector3f |
Vector3f.get()
Copy components into new Vector object
|
Vector3f |
Quaternion.getBack() |
Vector3f |
Quaternion.getDown() |
Vector3f |
Quaternion.getForward() |
Vector3f |
Quaternion.getLeft() |
Vector3f |
Quaternion.getRight() |
Vector3f |
Quaternion.getUp() |
Vector3f |
Vector4f.getXYZ() |
Vector3f |
Vector3f.lerp(Vector3f dest,
float factor)
Linearly interpolates between two Vectors.
|
static Vector3f |
Vector3f.lerp(Vector3f p,
Vector3f q,
float factor)
Linearly interpolates between two Vectors.
|
Vector3f |
Vector3f.lock() |
Vector3f |
Vector3f.mul(float v) |
Vector3f |
Vector3f.mul(Vector3f v) |
Vector3f |
Quaternion.mult(Vector3f v) |
Vector3f |
Vector3f.multLocal(float v) |
Vector3f |
Vector3f.multLocal(Vector3f v) |
Vector3f |
Vector3f.normalized()
Returns normalized version of this
Vector.
|
Vector3f |
Vector3f.rotate(Quaternion q)
Returns Vector of this rotated by using thw Quaternion
|
Vector3f |
Vector3f.rotate(Vector3f axis,
float angle)
Returns Vector of this rotated around the given axis by angle amount.
|
Vector3f |
Vector3f.set(float x,
float y,
float z) |
Vector3f |
Vector3f.set(Vector3f v) |
Vector3f |
Vector3f.sub(float v)
Subtract constant from Vector
|
Vector3f |
Vector3f.sub(Vector3f v)
Subtract two Vectors
|
Vector3f |
Vector3f.subLocal(float v)
Subtract constant from THIS Vector
|
Vector3f |
Vector3f.subLocal(Vector3f v)
Subtract Vector from THIS Vector
|
Vector3f |
Matrix4f.transform(Vector3f v) |
Vector3f |
Vector3f.unlock() |
| Modifier and Type | Method and Description |
|---|---|
Vector3f |
Vector3f.add(Vector3f v)
Add two Vectors
|
Vector3f |
Vector3f.addLocal(Vector3f v)
Add Vector to THIS Vector
|
Vector3f |
Vector3f.cross(Vector3f v)
Cross Product
|
static float |
Vector3f.distance(Vector3f p,
Vector3f q)
Calculates the euclidean distance.
|
Vector3f |
Vector3f.div(Vector3f v) |
float |
Vector3f.dot(Vector3f v)
Dot Product
|
boolean |
Vector3f.equals(Vector3f v) |
float |
Vector3f.euclidean(Vector3f v)
Calculates the euclidean distance.
|
Quaternion |
Quaternion.faceAt(Vector3f direction,
Vector3f up) |
Quaternion |
Quaternion.initRotation(Vector3f axis,
float angle) |
Matrix4f |
Matrix4f.initRotation(Vector3f forward,
Vector3f up) |
Matrix4f |
Matrix4f.initRotation(Vector3f forward,
Vector3f up,
Vector3f right) |
Vector3f |
Vector3f.lerp(Vector3f dest,
float factor)
Linearly interpolates between two Vectors.
|
static Vector3f |
Vector3f.lerp(Vector3f p,
Vector3f q,
float factor)
Linearly interpolates between two Vectors.
|
Vector3f |
Vector3f.mul(Vector3f v) |
Quaternion |
Quaternion.mul(Vector3f v) |
Vector3f |
Quaternion.mult(Vector3f v) |
Vector3f |
Vector3f.multLocal(Vector3f v) |
Vector3f |
Vector3f.rotate(Vector3f axis,
float angle)
Returns Vector of this rotated around the given axis by angle amount.
|
Vector3f |
Vector3f.set(Vector3f v) |
Vector3f |
Vector3f.sub(Vector3f v)
Subtract two Vectors
|
Vector3f |
Vector3f.subLocal(Vector3f v)
Subtract Vector from THIS Vector
|
Vector3f |
Matrix4f.transform(Vector3f v) |
| Constructor and Description |
|---|
Quaternion(Vector3f axis,
float angle) |
Vector3f(Vector3f v)
Copy constructor
|
Vector4f(Vector3f vec,
float w) |
| Modifier and Type | Field and Description |
|---|---|
protected Vector3f |
Vertex.normal |
protected Vector3f |
Vertex.pos |
| Modifier and Type | Method and Description |
|---|---|
Vector3f |
Color.getColor()
Returns the true color, by multiplying the RGB components by alpha
|
Vector3f |
Color.getRGB()
Returns the raw RGB values, ignoring the alpha
|
| Constructor and Description |
|---|
Color(Vector3f rgb,
float a) |
Vertex(Vector3f pos) |
Vertex(Vector3f pos,
Vector2f texCor) |
| Modifier and Type | Method and Description |
|---|---|
void |
UniformManager.setUniform(Shader shader,
String name,
Vector3f vec) |
| Constructor and Description |
|---|
Attenuation(Vector3f attenuation) |
| Modifier and Type | Field and Description |
|---|---|
protected static Vector3f[] |
SimpleArrow.positions |
| Constructor and Description |
|---|
WireBox(Vector3f extents) |
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<Vector3f> |
OBJParser.normal |
protected ArrayList<Vector3f> |
IndexedModel.normal |
protected ArrayList<Vector3f> |
OBJParser.positions |
protected ArrayList<Vector3f> |
IndexedModel.positions |
| Modifier and Type | Field and Description |
|---|---|
protected Vector3f |
BoundingObject.center |
protected Vector3f |
BoundingBox.extents |
| Modifier and Type | Method and Description |
|---|---|
Vector3f |
BoundingObject.getCenter(Vector3f store) |
| Modifier and Type | Method and Description |
|---|---|
List<Vector3f> |
BoundingBox.toPoints() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
BoundingObject.contains(Vector3f point) |
boolean |
BoundingBox.contains(Vector3f point) |
float |
BoundingObject.distanceTo(Vector3f point) |
Vector3f |
BoundingObject.getCenter(Vector3f store) |
| Modifier and Type | Method and Description |
|---|---|
abstract BoundingObject |
BoundingObject.fromPoints(List<Vector3f> points) |
BoundingBox |
BoundingBox.fromPoints(List<Vector3f> vectors)
Calculates a BoundingBox from list of points (Vector3f s).
|
BoundingBox |
BoundingBox.fromPoints(List<Vector3f> vectors,
float padding)
Calculates a BoundingBox from list of points (Vector3f s).
|
| Constructor and Description |
|---|
BoundingBox(Vector3f center,
float x,
float y,
float z) |
BoundingBox(Vector3f center,
Vector3f extents) |
BoundingObject(Vector3f center) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SimpleMover.move(Vector3f amount)
Moves this node by the amount vector
|
protected void |
SimpleMover.move(Vector3f dir,
float amt)
Moves this node by amt into dir
|
| Modifier and Type | Field and Description |
|---|---|
protected Vector3f |
WireframeDisplay.fillcolor |
protected Vector3f |
WireframeDisplay.wirecolor |
| Constructor and Description |
|---|
WireframeDisplay(Vector3f wirecolor,
Vector3f fillcolor) |
| Modifier and Type | Method and Description |
|---|---|
Vector3f |
SpotLight.getDirection() |
Vector3f |
DirectionalLight.getDirection() |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Vector3f> |
CommonDataStore.vectors |
| Modifier and Type | Method and Description |
|---|---|
Vector3f |
DataStore.getVector(String name)
Retrieve a Vector
|
Vector3f |
CommonDataStore.getVector(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
DataStore.addVector(String name,
Vector3f vector)
Adds a Vector
|
void |
CommonDataStore.addVector(String name,
Vector3f vector) |
| Modifier and Type | Method and Description |
|---|---|
void |
LWJGLUniformManager.setUniform(Shader shader,
String name,
Vector3f vec) |
Copyright © 2014. All rights reserved.