GA::kit v0.3
G&A's in-house C++ application framework
Loading...
Searching...
No Matches
ga::Bounds3D Struct Reference

A 3D axis-aligned bounding box. More...

#include <math.h>

Public Member Functions

vec3 center () const
 
vec3 size () const
 
float width () const
 
float height () const
 
float depth () const
 

Public Attributes

vec3 min
 
vec3 max
 

Detailed Description

A 3D axis-aligned bounding box.

Member Function Documentation

◆ center()

vec3 ga::Bounds3D::center ( ) const
inline

◆ depth()

float ga::Bounds3D::depth ( ) const
inline

◆ height()

float ga::Bounds3D::height ( ) const
inline

◆ size()

vec3 ga::Bounds3D::size ( ) const
inline

◆ width()

float ga::Bounds3D::width ( ) const
inline

Member Data Documentation

◆ max

vec3 ga::Bounds3D::max

◆ min

vec3 ga::Bounds3D::min

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