Class Vector3
Defines a three-component Vector with 32-bit floating point precision
Inherited Members
TSRVector3.absolute()
TSRVector3.add(TSRVector3,TSRVector3)
TSRVector3.addLerp(TSRVector3,TSRVector3,float)
TSRVector3.addWeighted(TSRVector3,float)
TSRVector3.addv(TSRVector3)
TSRVector3.assign(TSRVector3)
TSRVector3.assign(TSRVector4)
TSRVector3.assign(float,float,float)
TSRVector3.closestAxis()
TSRVector3.cross(TSRVector3,TSRVector3)
TSRVector3.decrementBy(TSRVector3)
TSRVector3.delete()
TSRVector3.divideBy(TSRVector3)
TSRVector3.divideBy(TSRVector4)
TSRVector3.divideBy(float)
TSRVector3.dot(TSRVector3)
TSRVector3.finalize()
TSRVector3.fromYawPitchAngles(float,float)
TSRVector3.furthestAxis()
TSRVector3.getCPtr(TSRVector3)
TSRVector3.getI()
TSRVector3.getJ()
TSRVector3.getK()
TSRVector3.getV()
TSRVector3.getX()
TSRVector3.getY()
TSRVector3.getZ()
TSRVector3.getZero()
TSRVector3.incrementBy(TSRVector3)
TSRVector3.mag()
TSRVector3.magSquared()
TSRVector3.maxAxis()
TSRVector3.minAxis()
TSRVector3.mult(TSRMatrix4)
TSRVector3.multiplyBy(TSRVector3)
TSRVector3.multiplyBy(TSRVector4)
TSRVector3.multiplyBy(float)
TSRVector3.negate()
TSRVector3.normalize()
TSRVector3.normalized()
TSRVector3.setV(float[])
TSRVector3.setX(float)
TSRVector3.setY(float)
TSRVector3.setZ(float)
TSRVector3.solveTriangleAnglesUsingSideLengths(TSRVector3)
TSRVector3.subtract(TSRVector3,TSRVector3)
Namespace:
Assembly: .dll
Syntax
public class Vector3 extends TSRVector3
Constructors
Vector3()
Initializes a new instance of the Vector3 class.
Declaration
public Vector3()
Vector3(TSRVector3 vector)
Initializes a new instance of the Vector3 class.
Declaration
public Vector3(TSRVector3 vector)
Parameters
| Type | Name | Description |
|---|---|---|
| TSRVector3 | vector | The other vector |
Vector3(float x, float y, float z)
Initializes a new instance of the Vector3 class.
Declaration
public Vector3(float x, float y, float z)
Parameters
| Type | Name | Description |
|---|---|---|
| float | x | The x value |
| float | y | The y value |
| float | z | The z value |
Methods
equals(Object o)
Declaration
public boolean equals(Object o)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | o |
Returns
| Type | Description |
|---|---|
| boolean |
Overrides
getLength()
Computes the length of the vector
Declaration
public final float getLength()
Returns
| Type | Description |
|---|---|
| float | The length of the vector |
hashCode()
Declaration
public int hashCode()
Returns
| Type | Description |
|---|---|
| int |
Overrides
toString()
Declaration
public String toString()
Returns
| Type | Description |
|---|---|
| String |