Function nalgebra_glm::quat_look_at[][src]

pub fn quat_look_at<T: RealField>(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 look
  • up - Object up vector