#include <portal_camera.h>
Public Member Functions | |
PortalCamera (Entity *entity, Graphics &gfx, float scale, float zNear, float zFar, bool inf) | |
void | destroy (Graphics &gfx) |
Public Attributes | |
Entity * | entity |
unsigned int | fbo |
unsigned int | quad_tex |
unsigned int | depth_tex |
matrix4 | portal_projection |
PortalCamera::PortalCamera | ( | Entity * | entity, |
Graphics & | gfx, | ||
float | scale, | ||
float | zNear, | ||
float | zFar, | ||
bool | inf | ||
) |
void PortalCamera::destroy | ( | Graphics & | gfx | ) |
unsigned int PortalCamera::depth_tex |
Entity* PortalCamera::entity |
unsigned int PortalCamera::fbo |
matrix4 PortalCamera::portal_projection |
unsigned int PortalCamera::quad_tex |