|
Nugget
|
A flat-colored triangle. More...
#include <psyqo/primitives/triangles.hh>

Public Member Functions | |
| Triangle () | |
| Triangle (Color c) | |
| Triangle (const Triangle &other, Color c) | |
| Triangle & | setColor (Color c) |
| Color | getColor () const |
| Triangle & | setOpaque () |
| Triangle & | setSemiTrans () |
| bool | isSemiTrans () const |
| Triangle & | setPointA (Vertex v) |
| Triangle & | setPointB (Vertex v) |
| Triangle & | setPointC (Vertex v) |
Public Attributes | |
| Vertex | pointA |
| Vertex | pointB |
| Vertex | pointC |
A flat-colored triangle.
This primitive will draw a flat-colored triangle. It will be drawn between the pointA, pointB, and pointC.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| Vertex psyqo::Prim::Triangle::pointA |
| Vertex psyqo::Prim::Triangle::pointB |
| Vertex psyqo::Prim::Triangle::pointC |