CSEngine
Loading...
Searching...
No Matches
CSE::CameraMatrixStruct Struct Reference

Public Member Functions

 CameraMatrixStruct (const mat4 &camera, const mat4 &projection, const vec3 &cameraPosition, bool isCube=false)
 

Public Attributes

mat4 camera
 
mat4 projection
 
vec3 cameraPosition
 
bool isCube
 

Detailed Description

Definition at line 8 of file CameraComponent.h.

Constructor & Destructor Documentation

◆ CameraMatrixStruct()

CSE::CameraMatrixStruct::CameraMatrixStruct ( const mat4 camera,
const mat4 projection,
const vec3 cameraPosition,
bool  isCube = false 
)
inline

Definition at line 14 of file CameraComponent.h.

15 : camera(camera), projection(projection), cameraPosition(cameraPosition), isCube(isCube) {}

Member Data Documentation

◆ camera

mat4 CSE::CameraMatrixStruct::camera

Definition at line 9 of file CameraComponent.h.

◆ cameraPosition

vec3 CSE::CameraMatrixStruct::cameraPosition

Definition at line 11 of file CameraComponent.h.

◆ isCube

bool CSE::CameraMatrixStruct::isCube

Definition at line 12 of file CameraComponent.h.

◆ projection

mat4 CSE::CameraMatrixStruct::projection

Definition at line 10 of file CameraComponent.h.


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