A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
Kinoko::EGG::BoundBox3f Struct Reference

#include <BoundBox.hh>

Description

A representation of a bounding cuboid.

Definition at line 37 of file BoundBox.hh.

Public Member Functions

constexpr void resetBound ()
constexpr void setZero ()
constexpr void setDirect (const Vector3f &vMin, const Vector3f &vMax)
constexpr void setMin (const Vector3f &v)
constexpr void setMax (const Vector3f &v)

Public Attributes

Vector3f min
Vector3f max

Member Function Documentation

◆ resetBound()

void Kinoko::EGG::BoundBox3f::resetBound ( )
inlineconstexpr

Definition at line 41 of file BoundBox.hh.

◆ setDirect()

void Kinoko::EGG::BoundBox3f::setDirect ( const Vector3f & vMin,
const Vector3f & vMax )
inlineconstexpr

Definition at line 51 of file BoundBox.hh.

◆ setMax()

void Kinoko::EGG::BoundBox3f::setMax ( const Vector3f & v)
inlineconstexpr

Definition at line 60 of file BoundBox.hh.

◆ setMin()

void Kinoko::EGG::BoundBox3f::setMin ( const Vector3f & v)
inlineconstexpr

Definition at line 56 of file BoundBox.hh.

◆ setZero()

void Kinoko::EGG::BoundBox3f::setZero ( )
inlineconstexpr

Definition at line 46 of file BoundBox.hh.

Member Data Documentation

◆ max

Vector3f Kinoko::EGG::BoundBox3f::max

Definition at line 65 of file BoundBox.hh.

◆ min

Vector3f Kinoko::EGG::BoundBox3f::min

Definition at line 64 of file BoundBox.hh.