Maria GDK 5.0.0.759
Documentation of native code in develop branch
Loading...
Searching...
No Matches
STK::Box2< T > Class Template Reference

#include <StkBox2.h>

Public Member Functions

constexpr Box2 (Vector2< T > min, Vector2< T > max)
 
const Vector2< T > & min () const
 
const Vector2< T > & max () const
 
void setMin (const Vector2< T > &min)
 
void setMax (const Vector2< T > &max)
 
void expand (T x, T y)
 Expand by x in x-direction and y in y-direction.
 
void translate (const Vector2< T > &t)
 
void transform (const Matrix4x4f &xfm)
 
width () const
 
height () const
 

Friends

bool operator== (const Box2< T > &b1, const Box2< T > &b2)
 
bool operator!= (const Box2< T > &b1, const Box2< T > &b2)
 

Detailed Description

template<typename T>
class STK::Box2< T >

Box - 2D axis aligned box class


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