Constructors
constructor
- new Vector3D(x?: number, y?: number, z?: number, w?: number): Vector3D
-
Parameters
-
Optional x: number
-
Optional y: number
-
Optional z: number
-
Optional w: number
Properties
lengthSquared
lengthSquared: number
Methods
copyFrom
- copyFrom(sourceVector3D: Vector3D): void
dotProduct
-
Parameters
Returns number
equals
- equals(toCompare: Vector3D, allFour?: boolean): boolean
-
Parameters
-
-
Optional allFour: boolean
Returns boolean
nearEquals
- nearEquals(toCompare: Vector3D, tolerance: number, allFour?: boolean): boolean
-
Parameters
-
-
tolerance: number
-
Optional allFour: boolean
Returns boolean
setTo
- setTo(xa: number, ya: number, za: number): void
-
Parameters
-
xa: number
-
ya: number
-
za: number
Returns void
Static angleBetween
-
Parameters
Returns number
Static distance
-
Parameters
Returns number