3#include "Graphics/camera.h"
15 std::shared_ptr<GraphicsEngine::Camera>
camera;
21 operator const std::shared_ptr<GraphicsEngine::Camera>()
const {
return camera; }
Wrapper around the GraphicsEngine camera.
Definition: camera.h:14
bool clearColorBufferOnDraw
determine if the draw system should clear the color buffer (or only the depth buffer) when using this...
Definition: camera.h:16
glm::vec3 globalShaderCoefs
only relevant if using phong shading. Coefficients for ambient, diffuse, and specular respectively....
Definition: camera.h:18
std::string shader
shader used to render Meshes seen by this camera.
Definition: camera.h:19
std::shared_ptr< GraphicsEngine::Camera > camera
Definition: camera.h:15
glm::vec3 clearColor
only relevant if clearColorBufferOnDraw is true.
Definition: camera.h:17