Loading [MathJax]/extensions/tex2jax.js
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
JGeometry::TBox< TVec2< f32 > > Struct Reference

#include <JGeometry.h>

+ Inheritance diagram for JGeometry::TBox< TVec2< f32 > >:
+ Collaboration diagram for JGeometry::TBox< TVec2< f32 > >:

Public Member Functions

f32 getWidth () const
 
f32 getHeight () const
 
bool isValid () const
 
void addPos (f32 x, f32 y)
 
void addPos (const TVec2< f32 > &pos)
 
bool intersect (const TBox< TVec2< f32 > > &other)
 

Public Attributes

TVec2< f32i
 
TVec2< f32f
 

Member Function Documentation

◆ addPos() [1/2]

void JGeometry::TBox< TVec2< f32 > >::addPos ( const TVec2< f32 > & pos)
inline

◆ addPos() [2/2]

void JGeometry::TBox< TVec2< f32 > >::addPos ( f32 x,
f32 y )
inline

◆ getHeight()

f32 JGeometry::TBox< TVec2< f32 > >::getHeight ( ) const
inline

◆ getWidth()

f32 JGeometry::TBox< TVec2< f32 > >::getWidth ( ) const
inline

◆ intersect()

bool JGeometry::TBox< TVec2< f32 > >::intersect ( const TBox< TVec2< f32 > > & other)
inline

◆ isValid()

bool JGeometry::TBox< TVec2< f32 > >::isValid ( ) const
inline

Member Data Documentation

◆ f

◆ i


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