camera.cpp
// Return the position of the camera.
Return the position of the camera.
Return the position of the camera .
glm::vec3 Camera::GetViewPosition()
{
    glm::vec3 offset;
    offset += Front * Offset.x;
    offset += Up * Offset.y;
    offset += Right * Offset.z;
    return Position + offset;
}
glm :: vec3 Camera :: GetViewPosition ( ) { glm :: vec3 offset ; offset += Front * Offset . x ; offset += Up * Offset . y ; offset += Right * Offset . z ; return Position + offset ; }
Return the position of the camera.
Return the position of the camera .