kick
Public Member Functions | Public Attributes
kick::Bounds2 Struct Reference

List of all members.

Public Member Functions

 Bounds2 (glm::vec2 const &min, glm::vec2 const &max)
glm::vec2 dimension ()
glm::vec2 center ()
glm::vec2 diagonal ()
void expand (glm::vec2 p)
void expand (Bounds2 b)
void reset ()
glm::vec2 lowLeft ()
glm::vec2 upperLeft ()
glm::vec2 lowRight ()
glm::vec2 upperRight ()
Bounds2 lerp (float f, Bounds2 b)
bool contains (glm::vec2 point)

Public Attributes

glm::vec2 min = glm::vec2{ std::numeric_limits<float>::max() }
glm::vec2 max = glm::vec2{ std::numeric_limits<float>::lowest() }

Detailed Description

Definition at line 13 of file bounds2.h.


The documentation for this struct was generated from the following files:
 All Classes Functions Variables