SGCT master (487fac4)
Simple Graphics Cluster Toolkit
Loading...
Searching...
No Matches
sgct::Projection Class Reference

This class holds and manages 3D projections. More...

#include <sgct/projection.h>

Public Member Functions

void calculateProjection (vec3 base, const ProjectionPlane &proj, float nearClip, float farClip, vec3 offset=vec3{ 0.f, 0.f, 0.f })
const mat4 & viewProjectionMatrix () const
const mat4 & viewMatrix () const
const mat4 & projectionMatrix () const

Detailed Description

This class holds and manages 3D projections.

Member Function Documentation

◆ calculateProjection()

void sgct::Projection::calculateProjection ( vec3 base,
const ProjectionPlane & proj,
float nearClip,
float farClip,
vec3 offset = vec3{ 0.f, 0.f, 0.f } )

◆ projectionMatrix()

const mat4 & sgct::Projection::projectionMatrix ( ) const

◆ viewMatrix()

const mat4 & sgct::Projection::viewMatrix ( ) const

◆ viewProjectionMatrix()

const mat4 & sgct::Projection::viewProjectionMatrix ( ) const

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