Get the angle between two 3D vectors
The first operand
The second operand
The angle in radians
Performs a bezier interpolation with two control points
the receiving vector
the first operand
the second operand
the third operand
the fourth operand
interpolation amount, in the range [0-1], between the two inputs
out
Creates a new vec3 initialized with values from an existing vector
vector to clone
a new 3D vector
Creates a new, empty vec3
a new 3D vector
Calculates the euclidian distance between two vec3's
the first operand
the second operand
distance between a and b
Calculates the euclidian distance between two vec3's
the first operand
the second operand
distance between a and b
Calculates the dot product of two vec3's
the first operand
the second operand
dot product of a and b
Returns whether or not the vectors have approximately the same elements in the same position.
The first vector.
The second vector.
True if the vectors are equal, false otherwise.
Returns whether or not the vectors have exactly the same elements in the same position (when compared with ===)
The first vector.
The second vector.
True if the vectors are equal, false otherwise.
Creates a new vec3 initialized with the given values
X component
Y component
Z component
a new 3D vector
Performs a hermite interpolation with two control points
the receiving vector
the first operand
the second operand
the third operand
the fourth operand
interpolation amount, in the range [0-1], between the two inputs
out
Calculates the length of a vec3
vector to calculate length of
length of a
Calculates the length of a vec3
vector to calculate length of
length of a
Calculates the squared euclidian distance between two vec3's
the first operand
the second operand
squared distance between a and b
Calculates the squared length of a vec3
vector to calculate squared length of
squared length of a
Calculates the squared euclidian distance between two vec3's
the first operand
the second operand
squared distance between a and b
Calculates the squared length of a vec3
vector to calculate squared length of
squared length of a
Returns a string representation of a vector
vector to represent as a string
string representation of the vector
Adds two vec3's