Raxol.Animation.Physics.Vector (Raxol v0.2.0)
View Source3D vector implementation for physics simulations.
Provides basic vector operations needed for physics calculations.
Summary
Functions
Adds two vectors.
Calculates the angle between two vectors in radians.
Calculates the cross product of two vectors.
Calculates the distance between two points represented as vectors.
Calculates the dot product of two vectors.
Creates a vector from spherical coordinates.
Performs linear interpolation between two vectors.
Calculates the magnitude (length) of a vector.
Returns the negation of the vector.
Creates a new vector with the specified components.
Normalizes a vector (makes it unit length).
Multiplies a vector by a scalar.
Subtracts the second vector from the first.
Converts the vector to a string representation.
Types
Functions
Adds two vectors.
Calculates the angle between two vectors in radians.
Calculates the cross product of two vectors.
Calculates the distance between two points represented as vectors.
Calculates the dot product of two vectors.
Creates a vector from spherical coordinates.
Performs linear interpolation between two vectors.
Calculates the magnitude (length) of a vector.
Returns the negation of the vector.
Creates a new vector with the specified components.
Normalizes a vector (makes it unit length).
Multiplies a vector by a scalar.
Subtracts the second vector from the first.
Converts the vector to a string representation.