Constructors
constructor
- new Vector3(x?, y?, z?): Vector3
-
Parameters
-
x: number = 0
-
y: number = 0
-
z: number = 0
Methods
distanceTo
- distanceTo(v): number
-
Returns number
distanceToSquared
- distanceToSquared(v): number
-
Returns number
dot
- dot(v): number
-
Returns number
equals
- equals(v): boolean
-
Returns boolean
length
- length(): number
-
Returns number
lengthSquared
- lengthSquared(): number
-
Returns number
set
- set(x, y, z): Vector3
-
Parameters
-
x: number
-
y: number
-
z: number
setFromSpherical
- setFromSpherical(r, theta, phi): Vector3
-
Parameters
-
r: number
-
theta: number
-
phi: number