| 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 |
|---|---|
protected Vector3f |
AudioSource.position
Position of this AudioSource in 3D space.
|
protected Vector3f |
AudioListener.velocity
The velocity of the listener, for doppler effects etc.
|
protected Vector3f |
AudioSource.velocity
The velocity of the AudioSource, for doppler effects etc.
|
| Modifier and Type | Method and Description |
|---|---|
Vector3f |
AudioListener.getForward() |
Vector3f |
AudioListener.getPosition() |
Vector3f |
AudioSource.getPosition()
Position of this AudioSource in 3D space.
|
Vector3f |
AudioListener.getUp() |
Vector3f |
AudioListener.getVelocity()
The velocity of the listener, for doppler effects etc.
|
Vector3f |
AudioSource.getVelocity()
The velocity of the AudioSource, for doppler effects etc.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AudioSource.setPosition(Vector3f position)
Position of this AudioSource in 3D space.
|
void |
AudioListener.setVelocity(Vector3f velocity)
The velocity of the listener, for doppler effects etc.
|
void |
AudioSource.setVelocity(Vector3f velocity)
The velocity of the AudioSource, for doppler effects etc.
|
| Constructor and Description |
|---|
AudioListener(Vector3f velocity,
AudioPlayer audioPlayer) |
AudioSource(AudioBuffer buffer,
Vector3f position,
Vector3f velocity) |
AudioSource(AudioBuffer buffer,
Vector3f position,
Vector3f velocity,
boolean loop,
boolean relative,
float gain,
AudioSourceState state) |
| 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.
|
Quaternion |
Quaternion.mul(Vector3f v) |
Vector3f |
Vector3f.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 |
protected Vector3f |
Vertex.tangent |
| Modifier and Type | Method and Description |
|---|---|
Vector3f |
Color.getColor()
Returns the true color, by multiplying the RGB components by alpha
|
Vector3f |
Vertex.getNormal() |
Vector3f |
Vertex.getPos() |
Vector3f |
Color.getRGB()
Returns the raw RGB values, ignoring the alpha
|
Vector3f |
Vertex.getTangent() |
| Modifier and Type | Method and Description |
|---|---|
void |
Vertex.setNormal(Vector3f normal) |
void |
Vertex.setPos(Vector3f pos) |
void |
Vertex.setTangent(Vector3f tangent) |
| Constructor and Description |
|---|
Color(Vector3f rgb,
float a) |
Vertex(Vector3f pos) |
Vertex(Vector3f pos,
Vector2f texCor) |
Vertex(Vector3f pos,
Vector2f texCor,
Vector3f normal) |
Vertex(Vector3f pos,
Vector2f texCor,
Vector3f normal,
Vector3f tangent) |
| 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 List<Vector3f> |
IndexedModel.normal |
protected ArrayList<Vector3f> |
OBJParser.normal |
protected List<Vector3f> |
IndexedModel.positions |
protected ArrayList<Vector3f> |
OBJParser.positions |
protected List<Vector3f> |
IndexedModel.tangent |
| Modifier and Type | Method and Description |
|---|---|
List<Vector3f> |
IndexedModel.getNormal() |
ArrayList<Vector3f> |
OBJParser.getNormal() |
List<Vector3f> |
IndexedModel.getPositions() |
ArrayList<Vector3f> |
OBJParser.getPositions() |
List<Vector3f> |
IndexedModel.getTangent() |
| Modifier and Type | Method and Description |
|---|---|
void |
OBJParser.setNormal(ArrayList<Vector3f> normal) |
void |
IndexedModel.setNormal(List<Vector3f> normal) |
void |
OBJParser.setPositions(ArrayList<Vector3f> positions) |
void |
IndexedModel.setPositions(List<Vector3f> positions) |
void |
IndexedModel.setTangent(List<Vector3f> tangent) |
| Modifier and Type | Field and Description |
|---|---|
protected Vector3f |
BoundingObject.center |
protected Vector3f |
BoundingBox.extents |
| Modifier and Type | Method and Description |
|---|---|
Vector3f |
BoundingObject.getCenter() |
Vector3f |
BoundingObject.getCenter(Vector3f store) |
Vector3f |
BoundingBox.getExtents() |
| Modifier and Type | Method and Description |
|---|---|
List<Vector3f> |
BoundingBox.toPoints() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
BoundingBox.contains(Vector3f point) |
abstract boolean |
BoundingObject.contains(Vector3f point) |
float |
BoundingObject.distanceTo(Vector3f point) |
Vector3f |
BoundingObject.getCenter(Vector3f store) |
void |
BoundingObject.setCenter(Vector3f center) |
void |
BoundingBox.setExtents(Vector3f extents) |
| Modifier and Type | Method and Description |
|---|---|
BoundingBox |
BoundingBox.fromPoints(List<Vector3f> vectors)
Calculates a BoundingBox from list of points (Vector3f s).
|
abstract BoundingObject |
BoundingObject.fromPoints(List<Vector3f> points) |
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 |
| Modifier and Type | Method and Description |
|---|---|
Vector3f |
WireframeDisplay.getFillcolor() |
Vector3f |
WireframeDisplay.getWirecolor() |
| Modifier and Type | Method and Description |
|---|---|
void |
WireframeDisplay.setFillcolor(Vector3f fillcolor) |
void |
WireframeDisplay.setWirecolor(Vector3f wirecolor) |
| Constructor and Description |
|---|
WireframeDisplay(Vector3f wirecolor,
Vector3f fillcolor) |
| Modifier and Type | Method and Description |
|---|---|
Vector3f |
DirectionalLight.getDirection() |
Vector3f |
SpotLight.getDirection() |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Vector3f> |
CommonDataStore.vectors |
| Modifier and Type | Method and Description |
|---|---|
protected static Vector3f |
TangentGenerator.getTangent(org.achtern.AchternEngine.core.util.TangentGenerator.TriangleDelta delta,
Vector3f e1,
Vector3f e2) |
Vector3f |
CommonDataStore.getVector(String name) |
Vector3f |
DataStore.getVector(String name)
Retrieve a Vector
|
| Modifier and Type | Method and Description |
|---|---|
static List<Vector3f> |
TangentGenerator.calculate(List<Vector3f> positions,
List<Integer> indices,
List<Vector2f> texCoords) |
| Modifier and Type | Method and Description |
|---|---|
void |
CommonDataStore.addVector(String name,
Vector3f vector) |
void |
DataStore.addVector(String name,
Vector3f vector)
Adds a Vector
|
protected static Vector3f |
TangentGenerator.getTangent(org.achtern.AchternEngine.core.util.TangentGenerator.TriangleDelta delta,
Vector3f e1,
Vector3f e2) |
| Modifier and Type | Method and Description |
|---|---|
static List<Vector3f> |
TangentGenerator.calculate(List<Vector3f> positions,
List<Integer> indices,
List<Vector2f> texCoords) |
| Modifier and Type | Method and Description |
|---|---|
void |
LWJGLUniformManager.setUniform(Shader shader,
String name,
Vector3f vec) |
Copyright © 2015. All rights reserved.