SpiecsEngine
 
Loading...
Searching...
No Matches

◆ GetOrientation()

glm::quat Spices::MeshController::GetOrientation ( ) const

Definition at line 124 of file MeshController.cpp.

125 {
126 const glm::vec3& rot = std::any_cast<TransformComponent*>(m_CameraTranComp)->GetRotation();
127 return glm::quat(glm::vec3(rot.x, rot.y, rot.z));
128 }