NWengine 0.9
|
The Quad class represents a quad shape. More...
#include <Primitives.h>
Public Member Functions | |
void | UpdateSize (float width, float height) |
Updates the size of the quad. | |
Quad (float width=1.0f, float height=1.0f) | |
Constructs a new Quad object. | |
void | Draw () |
Draws the quad. | |
Public Attributes | |
int | width = 0 |
int | height = 0 |
The Quad class represents a quad shape.
Constructs a new Quad object.
width | The width of the quad. |
height | The height of the quad. |
Updates the size of the quad.
width | The new width of the quad. |
height | The new height of the quad. |
int Quad::height = 0 |
The height of the quad.
int Quad::width = 0 |
The width of the quad.