ASGE
3.2.0
Simple Game Framework in GL
|
#include <SpriteBounds.hpp>
Public Attributes | |
Point2D | v1 = { 0, 0 } |
Point2D | v2 = { 0, 0 } |
Point2D | v3 = { 0, 0 } |
Point2D | v4 = { 0, 0 } |
Four vertices defining a sprites bound.
Used to conveniently store 4 points together. These 4 points typically define the for vertices defining the bounding rectangle of a sprite. Note:There is no guarantee that the bounds stored here are axis-aligned or ordered.
Definition at line 32 of file SpriteBounds.hpp.
Point2D ASGE::SpriteBounds::v1 = { 0, 0 } |
The first vertex position.
Definition at line 34 of file SpriteBounds.hpp.
Point2D ASGE::SpriteBounds::v2 = { 0, 0 } |
The second vertex position
Definition at line 35 of file SpriteBounds.hpp.
Point2D ASGE::SpriteBounds::v3 = { 0, 0 } |
The third vertex position.
Definition at line 36 of file SpriteBounds.hpp.
Point2D ASGE::SpriteBounds::v4 = { 0, 0 } |
The fourth vertex position.
Definition at line 37 of file SpriteBounds.hpp.