[][src]Function nalgebra_glm::quat_look_at

pub fn quat_look_at<N: Real>(direction: &TVec3<N>, up: &TVec3<N>) -> Qua<N>

Computes a right hand look-at quaternion

Parameters

  • direction - Direction vector point at where to look
  • up - Object up vector