Function nalgebra_glm::quat_look_at
source · pub fn quat_look_at<T: RealNumber>(
direction: &TVec3<T>,
up: &TVec3<T>,
) -> Qua<T>
Expand description
Computes a right hand look-at quaternion
§Parameters
direction
- Direction vector point at where to lookup
- Object up vector