Loading...
Searching...
No Matches
hellfire::OrthographicCamera Class Reference

#include <CameraFactory.h>

Collaboration diagram for hellfire::OrthographicCamera:

Static Public Member Functions

static EntityID create (Scene *scene, const std::string &name, float size, float aspect, float near_plane=-1.0f, float far_plane=1.0f, const glm::vec3 &position=glm::vec3(0.0f))
 
static EntityID create_with_bounds (Scene *scene, const std::string &name, float left, float right, float bottom, float top, float near_plane=-1.0f, float far_plane=1.0f, const glm::vec3 &position=glm::vec3(0.0f))
 
static Entitycreate (const std::string &name="OrthographicCamera", float size=10.0f, float aspect=16.0f/9.0f, float near_plane=0.1f, float far_plane=100.0f, const glm::vec3 &position=glm::vec3(0.0f, 0.0f, 0.0f))
 
static Entitycreate_with_bounds (const std::string &name, float left, float right, float bottom, float top, float near_plane=0.1f, float far_plane=100.0f, const glm::vec3 &position=glm::vec3(0.0f, 0.0f, 0.0f))
 

Detailed Description

Definition at line 33 of file CameraFactory.h.

Member Function Documentation

◆ create() [1/2]

static Entity * hellfire::OrthographicCamera::create ( const std::string &  name = "OrthographicCamera",
float  size = 10.0f,
float  aspect = 16.0f / 9.0f,
float  near_plane = 0.1f,
float  far_plane = 100.0f,
const glm::vec3 &  position = glm::vec3(0.0f, 0.0f, 0.0f) 
)
inlinestatic

Definition at line 40 of file Cameras.h.

◆ create() [2/2]

EntityID hellfire::OrthographicCamera::create ( Scene scene,
const std::string &  name,
float  size,
float  aspect,
float  near_plane = -1.0f,
float  far_plane = 1.0f,
const glm::vec3 &  position = glm::vec3(0.0f) 
)
static

Definition at line 32 of file CameraFactory.cpp.

◆ create_with_bounds() [1/2]

static Entity * hellfire::OrthographicCamera::create_with_bounds ( const std::string &  name,
float  left,
float  right,
float  bottom,
float  top,
float  near_plane = 0.1f,
float  far_plane = 100.0f,
const glm::vec3 &  position = glm::vec3(0.0f, 0.0f, 0.0f) 
)
inlinestatic

Definition at line 59 of file Cameras.h.

◆ create_with_bounds() [2/2]

EntityID hellfire::OrthographicCamera::create_with_bounds ( Scene scene,
const std::string &  name,
float  left,
float  right,
float  bottom,
float  top,
float  near_plane = -1.0f,
float  far_plane = 1.0f,
const glm::vec3 &  position = glm::vec3(0.0f) 
)
static

Definition at line 49 of file CameraFactory.cpp.


The documentation for this class was generated from the following files: