Dir3
Dir3
- glam::Vec3
Description
A normalized vector pointing in a direction in 3D space
Functions
Function | Summary |
---|---|
as_vec3(_self) | Returns the inner [`Vec3`] |
clone(_self) | No Documentation 🚧 |
eq(_self, other) | No Documentation 🚧 |
fast_renormalize(_self) | Returns `self` after an approximate normalization, assuming the value is already nearly normalized. |
from_xyz_unchecked(x, y, z) | Create a direction from its `x`, `y`, and `z` components, assuming the resulting vector is normaliz |
mul(_self, rhs) | No Documentation 🚧 |
neg(_self) | No Documentation 🚧 |
new_unchecked(value) | Create a [`Dir3`] from a [`Vec3`] that is already normalized. # Warning `value` must be normalize |
slerp(_self, rhs, s) | Performs a spherical linear interpolation between `self` and `rhs` based on the value `s`. This c |