SimpleGL  1.1.0
A framework for platform independent rendering
Public Attributes | List of all members
sgl::Camera Struct Reference

This struct defines a camera. More...

#include <transform.hpp>

Public Attributes

glm::vec3 position
 The position of the camera. More...
 
glm::vec3 front
 The front side direction of the camera. More...
 
glm::vec3 up
 The up vector if the camera. More...
 

Detailed Description

This struct defines a camera.

Definition at line 23 of file transform.hpp.

Member Data Documentation

glm::vec3 sgl::Camera::front

The front side direction of the camera.

Definition at line 29 of file transform.hpp.

glm::vec3 sgl::Camera::position

The position of the camera.

Definition at line 26 of file transform.hpp.

glm::vec3 sgl::Camera::up

The up vector if the camera.

Definition at line 32 of file transform.hpp.


The documentation for this struct was generated from the following file: