yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::zelda3::CustomObject::BoundingBox Struct Reference

#include <custom_object.h>

Public Member Functions

int width () const
 
int height () const
 

Public Attributes

int min_x = 0
 
int min_y = 0
 
int max_x = 0
 
int max_y = 0
 

Detailed Description

Definition at line 39 of file custom_object.h.

Member Function Documentation

◆ width()

int yaze::zelda3::CustomObject::BoundingBox::width ( ) const
inline

Definition at line 44 of file custom_object.h.

References max_x, and min_x.

◆ height()

int yaze::zelda3::CustomObject::BoundingBox::height ( ) const
inline

Definition at line 45 of file custom_object.h.

References max_y, and min_y.

Member Data Documentation

◆ min_x

int yaze::zelda3::CustomObject::BoundingBox::min_x = 0

Definition at line 40 of file custom_object.h.

Referenced by yaze::zelda3::CustomObject::GetBoundingBox(), and width().

◆ min_y

int yaze::zelda3::CustomObject::BoundingBox::min_y = 0

Definition at line 41 of file custom_object.h.

Referenced by yaze::zelda3::CustomObject::GetBoundingBox(), and height().

◆ max_x

int yaze::zelda3::CustomObject::BoundingBox::max_x = 0

Definition at line 42 of file custom_object.h.

Referenced by yaze::zelda3::CustomObject::GetBoundingBox(), and width().

◆ max_y

int yaze::zelda3::CustomObject::BoundingBox::max_y = 0

Definition at line 43 of file custom_object.h.

Referenced by yaze::zelda3::CustomObject::GetBoundingBox(), and height().


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