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

#include <BoundBox.hh>

Description

A representation of a bounding rectangle.

Definition at line 8 of file BoundBox.hh.

Public Member Functions

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

Public Attributes

Vector2f min
 
Vector2f max
 

Member Function Documentation

◆ resetBound()

void Kinoko::EGG::BoundBox2f::resetBound ( )
inlineconstexpr0x802145F0

Definition at line 14 of file BoundBox.hh.

◆ setDirect()

void Kinoko::EGG::BoundBox2f::setDirect ( const Vector2f & vMin,
const Vector2f & vMax )
inlineconstexpr

Definition at line 19 of file BoundBox.hh.

◆ setMax()

void Kinoko::EGG::BoundBox2f::setMax ( const Vector2f & v)
inlineconstexpr

Definition at line 28 of file BoundBox.hh.

◆ setMin()

void Kinoko::EGG::BoundBox2f::setMin ( const Vector2f & v)
inlineconstexpr

Definition at line 24 of file BoundBox.hh.

Member Data Documentation

◆ max

Vector2f Kinoko::EGG::BoundBox2f::max

Definition at line 33 of file BoundBox.hh.

◆ min

Vector2f Kinoko::EGG::BoundBox2f::min

Definition at line 32 of file BoundBox.hh.