BNM 2.5.0
 
Loading...
Searching...
No Matches
BNM::Structures::Unity::Rect Struct Reference

Public Member Functions

constexpr Rect (float x, float y, float w, float h)
 
std::string str ()
 
bool operator== (const Rect &other) const
 
bool operator!= (const Rect &other) const =default
 

Public Attributes

union { 
 
   struct { 
 
      float   x 
 
      float   y 
 
      float   w 
 
      float   h 
 
   }  
 
   float   data [4] {0.f, 0.f, 0.f, 0.f} 
 
};