ASGE  3.2.0
Simple Game Framework in GL
ASGE::SpriteBounds Struct Reference

#include <SpriteBounds.hpp>

Collaboration diagram for ASGE::SpriteBounds:
[legend]

Public Attributes

Point2D v1 = { 0, 0 }
 
Point2D v2 = { 0, 0 }
 
Point2D v3 = { 0, 0 }
 
Point2D v4 = { 0, 0 }
 

Detailed Description

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.

Member Data Documentation

◆ v1

Point2D ASGE::SpriteBounds::v1 = { 0, 0 }

The first vertex position.

Definition at line 34 of file SpriteBounds.hpp.

◆ v2

Point2D ASGE::SpriteBounds::v2 = { 0, 0 }

The second vertex position

Definition at line 35 of file SpriteBounds.hpp.

◆ v3

Point2D ASGE::SpriteBounds::v3 = { 0, 0 }

The third vertex position.

Definition at line 36 of file SpriteBounds.hpp.

◆ v4

Point2D ASGE::SpriteBounds::v4 = { 0, 0 }

The fourth vertex position.

Definition at line 37 of file SpriteBounds.hpp.


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