[]Function rusty_engine::prelude::glm::quat_look_at

pub fn quat_look_at<N>(
    direction: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>,
    up: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>
) -> Quaternion<N> where
    N: RealField

Computes a right hand look-at quaternion

Parameters

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