#include <lvt/2d.h>
Inheritance diagram for Triangle2D:
Public Member Functions | |
int | GetHeight () const |
Returns the triangle's height. | |
int | GetWidth () const |
Returns the triangle's width. | |
virtual void | Render () |
Renders the object. | |
void | SetHeight (int h) |
Sets the triangle's height. | |
void | SetSize (int w, int h) |
Sets the size and and shape of the triangle. | |
void | SetWidth (int w) |
Sets the triangle's width. |
|
Returns the triangle's height.
|
|
Returns the triangle's width.
|
|
Renders the object. A call to render on a 2D object also flushes the OpenGL output buffer. Implements Shape2D. |
|
Sets the triangle's height.
|
|
Sets the size and and shape of the triangle.
|
|
Sets the triangle's width.
|