eos 1.4.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
eos::fitting::Frustum Struct Reference

A class representing a camera viewing frustum. At the moment only fully tested with orthographic camera. More...

#include <RenderingParameters.hpp>

Public Member Functions

 Frustum (float l, float r, float b, float t)
 
template<class Archive >
void serialize (Archive &archive)
 

Public Attributes

float l = -1.0f
 
float r = 1.0f
 
float b = -1.0f
 
float t = 1.0f
 

Friends

class cereal::access
 

Detailed Description

A class representing a camera viewing frustum. At the moment only fully tested with orthographic camera.

Member Function Documentation

◆ serialize()

template<class Archive >
void eos::fitting::Frustum::serialize ( Archive &  archive)
inline

Serialises this class using cereal.

Parameters
[in]archiveThe archive to serialise to (or to serialise from).

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