Engine
Frameworkcreatedbymeusableforthecreationofsimplegames.CurrentlysupportsOpenGL(Verysimple)andVulkan.
Classes | Public Member Functions | Friends | List of all members
Engine::Frustum Class Reference

This object is used to keep track of the frustum area of the view and projection matrix. NOTE: only the Camera class is allowed to create this object. More...

#include <Frustum.hpp>

Public Member Functions

 Frustum (Frustum const &other)=default
 
 Frustum (Frustum &&other) noexcept=default
 
 ~Frustum () noexcept=default
 
Frustumoperator= (Frustum const &other)=default
 
Frustumoperator= (Frustum &&other) noexcept=default
 
Face GetFrontFace () const
 
Face GetBackFace () const
 
Face GetTopFace () const
 
Face GetRightFace () const
 
Face GetBottomFace () const
 
Face GetLeftFace () const
 

Friends

class Camera
 

Detailed Description

This object is used to keep track of the frustum area of the view and projection matrix. NOTE: only the Camera class is allowed to create this object.

Definition at line 12 of file Frustum.hpp.

Constructor & Destructor Documentation

Engine::Frustum::Frustum ( Frustum const &  other)
default
Engine::Frustum::Frustum ( Frustum &&  other)
defaultnoexcept
Engine::Frustum::~Frustum ( )
defaultnoexcept

Member Function Documentation

Frustum::Face Engine::Frustum::GetBackFace ( ) const

Returns
Returns the back face of the frustum

Definition at line 61 of file Frustum.cpp.

Frustum::Face Engine::Frustum::GetBottomFace ( ) const

Returns
Returns the bottom face of the frustum

Definition at line 76 of file Frustum.cpp.

Frustum::Face Engine::Frustum::GetFrontFace ( ) const

Returns
Returns the front face of the frustum

Definition at line 56 of file Frustum.cpp.

Frustum::Face Engine::Frustum::GetLeftFace ( ) const

Returns
Returns the left face of the frustum

Definition at line 81 of file Frustum.cpp.

Frustum::Face Engine::Frustum::GetRightFace ( ) const

Returns
Returns the right face of the frustum

Definition at line 71 of file Frustum.cpp.

Frustum::Face Engine::Frustum::GetTopFace ( ) const

Returns
Returns the top face of the frustum

Definition at line 66 of file Frustum.cpp.

Frustum& Engine::Frustum::operator= ( Frustum const &  other)
default
Frustum& Engine::Frustum::operator= ( Frustum &&  other)
defaultnoexcept

Friends And Related Function Documentation

friend class Camera
friend

Definition at line 23 of file Frustum.hpp.


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