Modifier and Type | Method and Description |
---|---|
Vector3 |
Seek.apply(IVehicle vehicle) |
Vector3 |
ObstacleAvoidance.apply(IVehicle vehicle) |
Vector3 |
JoystickInput.apply(IVehicle vehicle) |
Vector3 |
IPattern.apply(IVehicle vehicle) |
Vector3 |
Flee.apply(IVehicle vehicle) |
Vector3 |
PointMass.getForward() |
Vector3 |
IVehicle.getForward() |
Vector3 |
PointMass.getInitForward() |
Vector3 |
IVehicle.getInitForward() |
Vector3 |
PointMass.getPosition() |
Vector3 |
IVehicle.getPosition() |
Vector3 |
PointMass.getUp() |
Vector3 |
IVehicle.getUp() |
Vector3 |
PointMass.getVelocity() |
Vector3 |
IVehicle.getVelocity() |
Modifier and Type | Method and Description |
---|---|
void |
PointMass.addSteeringForce(Vector3 steering) |
void |
IVehicle.addSteeringForce(Vector3 steering)
Add a new steering force
|
void |
PointMass.translate(Vector3 position) |
void |
IVehicle.translate(Vector3 position) |
Constructor and Description |
---|
PointMass(float mass,
float inertia,
float maxVelocity,
float maxForce,
Vector3 steering,
Vector3 up,
SceneNode node) |
Modifier and Type | Method and Description |
---|---|
Vector3 |
Movement.getCurrentTarget() |
Vector3 |
TargetSceneObject.getTargetPos() |
Vector3 |
TargetPoint.getTargetPos() |
Vector3 |
TargetNode.getTargetPos() |
Vector3 |
ITargetProvider.getTargetPos() |
Constructor and Description |
---|
TargetPoint(Vector3 point) |
Modifier and Type | Field and Description |
---|---|
Vector3[] |
AnimationFrame.bonePos |
Modifier and Type | Method and Description |
---|---|
void |
Bone.setPose(Vector3 pos,
Quaternion rot) |
void |
Bone.updateAll(Vector3 parentPos,
Quaternion parentRot,
Vector3 parentScale,
float[] parentTransform) |
Modifier and Type | Field and Description |
---|---|
static Vector3 |
DirectionalLight.DEFAULT_LIGHT_DIRECTION
The default light direction
|
Modifier and Type | Method and Description |
---|---|
Vector3 |
DirectionalLight.getLightDirection()
Get the direction of this light
|
Modifier and Type | Method and Description |
---|---|
void |
DirectionalLight.setLightDirection(Vector3 lightDirection)
Set a new light direction
|
Constructor and Description |
---|
DirectionalLight(Vector3 lightDirection) |
Modifier and Type | Method and Description |
---|---|
float[] |
DefaultMaterial3.createVertexData(Vector3[] points,
short[] drawOrder)
Adds the colors to the vertex data.
|
float[] |
ColoredMaterial.createVertexData(Vector3[] points,
short[] drawOrder)
Adds the colors to the vertex data.
|
float[] |
ColoredLightedMaterial.createVertexData(Vector3[] points,
short[] drawOrder)
Adds the colors to the vertex data.
|
Modifier and Type | Method and Description |
---|---|
Vector3 |
ForceAffector.getForce() |
Vector3 |
Emitter.getRandomPos() |
Vector3 |
Emitter.getRandomVelocity() |
Vector3 |
Emitter.getVelocity() |
Modifier and Type | Method and Description |
---|---|
void |
ForceAffector.setForce(Vector3 force) |
void |
Emitter.setRandomPos(Vector3 randomPos) |
void |
Emitter.setRandomVelocity(Vector3 randomVelocity) |
void |
Emitter.setVelocity(Vector3 velocity) |
Constructor and Description |
---|
ForceAffector(Vector3 force) |
Modifier and Type | Method and Description |
---|---|
Vector3 |
Box.getMax() |
Vector3 |
Box.getMin() |
Constructor and Description |
---|
Box(Material material,
Vector3 min,
Vector3 max) |
Skybox(java.lang.String textureName,
Vector3 min,
Vector3 max) |
Triangle(Material material,
Vector3[] points) |
Modifier and Type | Method and Description |
---|---|
Vector3 |
Camera.getLookDirection()
Get the direction which the camera is facing
|
Vector3 |
Camera.getWorldLookDirection()
Get the look diretion of the camera in world space
|
Vector3 |
Camera.getWorldUpVector() |
Modifier and Type | Method and Description |
---|---|
float[] |
Material.createVertexData(Vector3[] points,
short[] drawOrder) |
void |
Renderable.init(Material material,
Vector3[] points,
short[] drawOrder) |
void |
Camera.setLookDirection(Vector3 lookDirection)
Set a new direction in which to look
|
Constructor and Description |
---|
Camera(Vector3 up) |
Renderable(Material material,
Vector3[] points,
short[] drawOrder) |
Modifier and Type | Method and Description |
---|---|
Vector3 |
SceneObject.getAbsolutePos()
Gets the absolute position of this SceneObject
|
Vector3 |
SceneNode.getAbsolutePos()
Gets the absolute position of this SceneNode
Currently iterates through all parent nodes, therefore expensive.
|
Vector3 |
SceneNode.getAbsoluteScale()
Gets the absolute scaling of this SceneNode
Currently iterates through all parent nodes, therefore expensive.
|
Vector3 |
SceneNode.getCachedAbsolutePos()
Gives last calculated absolute world position of this node.
|
Vector3 |
SceneNode.getCachedAbsoluteScale()
Gives last calculated absolute world scaling of this node.
|
Vector3 |
SceneObject.getRelativePos()
Gets the position of this SceneObject relative to the parent of the parent SceneNode
|
Vector3 |
SceneNode.getRelativePos()
Gets the position of this SceneNode relative to its parent
|
Vector3 |
SceneNode.getRelativeScale()
Gets the scaling of this SceneNode relative to its parent
|
Modifier and Type | Method and Description |
---|---|
Box |
SceneManager.createBox(Material material,
Vector3 min,
Vector3 max) |
Camera |
SceneManager.createCamera(Vector3 lookDirection,
Vector3 up,
SceneNode node)
Creates a new camera object
|
SceneNode |
SceneNode.createChild(Vector3 pos)
Create a new child scene node
|
void |
SceneNode.scale(Vector3 scale)
Scales this node by the passed scaling
|
void |
SceneNode.setAbsolutePos(Vector3 pos)
Sets the relative pos, so that the resulting
absolute pos will match with the desired position
|
void |
SceneNode.setAbsoluteScale(Vector3 scale)
Sets the relative scaling, so that the resulting
absolute scaling will match with the desired position
|
void |
SceneNode.setRelativePos(Vector3 pos)
Set the relative position
|
void |
SceneNode.setRelativeScale(Vector3 scale)
Set the relative scaling
|
void |
SceneNode.translate(Vector3 translation)
Translate this node by a vector3
|
void |
SceneNode.update(Vector3 parentPos,
Quaternion parentRot,
Vector3 parentScale,
float[] parentTransform)
Updates the model matrix
|
void |
SceneNode.updateAll(Vector3 parentPos,
Quaternion parentRot,
Vector3 parentScale,
float[] parentTransform)
Updates the model matrix.
|
Constructor and Description |
---|
Octree(int minimumObjectsPerNode,
int maximumObjectsPerNode,
Vector3 center,
float dimension) |
OctreeNode(int minimumObjectsPerNode,
int maximumObjectsPerNode,
Vector3 center,
float dimension)
Create a new octree
|
SceneNode(Vector3 pos)
Creates a SceneNode at the passed position
|
Modifier and Type | Field and Description |
---|---|
Vector3 |
Ray.direction |
Vector3 |
AABB.max |
Vector3 |
AABB.min |
Vector3 |
Plane.normal |
Vector3 |
Ray.origin |
Vector3 |
Plane.point |
Modifier and Type | Method and Description |
---|---|
Vector3 |
Vector3.add(Vector3 other)
Adds this vector to another.
|
Vector3 |
Vector3.cross(Vector3 other)
Calculates the cross product between this vector
and another
|
Vector3 |
AABB.getCenter() |
Vector3 |
Ray.getPointAtDistance(float distance) |
Vector3[] |
AABB.getPoints() |
Vector3 |
AABB.intersectsRay(Ray ray,
float minDir,
float maxDir)
Calculates intersection with the given ray between a certain distance
interval.
|
static Vector3 |
Vector3.lerp(Vector3 start,
Vector3 end,
float alpha)
Perform a linear interpolation between two vectors.
|
Vector3 |
Vector3.multiply(float m)
Multiplies all components by a constant.
|
Vector3 |
Vector3.multiply(Vector3 other) |
Vector3 |
Quaternion.multiply(Vector3 vector) |
Vector3 |
Vector3.sub(Vector3 other)
Let another vector subtract from this one.
|
Vector3 |
Vector3.vectorTo(Vector3 other)
Creates a vector pointing from this to the passed vector.
|
Modifier and Type | Method and Description |
---|---|
Vector3 |
Vector3.add(Vector3 other)
Adds this vector to another.
|
Vector3 |
Vector3.cross(Vector3 other)
Calculates the cross product between this vector
and another
|
float |
Plane.distance(Vector3 point) |
float |
Vector3.dot(Vector3 other)
Calculates the dot product between two vectors.
|
static Quaternion |
Quaternion.fromAxisAngle(Vector3 axis,
float angle)
Create a quaternion from an axis-angle rotation
|
static Vector3 |
Vector3.lerp(Vector3 start,
Vector3 end,
float alpha)
Perform a linear interpolation between two vectors.
|
Vector3 |
Vector3.multiply(Vector3 other) |
Vector3 |
Quaternion.multiply(Vector3 vector) |
void |
Quaternion.multiplyNoTmp(Vector3 vector) |
boolean |
FrustumG.pointInFrustum(Vector3 point) |
Quaternion |
Quaternion.rotate(Vector3 axis,
float angle) |
Vector3 |
Vector3.sub(Vector3 other)
Let another vector subtract from this one.
|
Vector3 |
Vector3.vectorTo(Vector3 other)
Creates a vector pointing from this to the passed vector.
|
Constructor and Description |
---|
AABB(Vector3 min,
Vector3 max) |
FrustumG(Vector3 camPos,
Vector3 lookDirection,
Vector3 up,
int nearClip,
int farClip,
float nearWidth,
float nearHeight) |
Plane(Vector3 normal,
Vector3 point) |
Ray(Vector3 direction,
Vector3 origin) |
Vector3(Vector3 other) |
Modifier and Type | Field and Description |
---|---|
Vector3 |
Raycast.RaycastResult.intersection |
Constructor and Description |
---|
Raycast(Vector3 startPoint,
Vector3 direction,
float maxDist) |