Nugget
|
A textured triangle. More...
#include <psyqo/primitives/triangles.hh>
Public Member Functions | |
TexturedTriangle () | |
TexturedTriangle (Color c) | |
TexturedTriangle (const TexturedTriangle &other, Color c) | |
TexturedTriangle & | setColor (Color c) |
Color | getColor () const |
TexturedTriangle & | setOpaque () |
TexturedTriangle & | setSemiTrans () |
bool | isSemiTrans () const |
A textured triangle.
This primitive will draw a textured triangle. It will be drawn between the pointA
, pointB
, and pointC
vertices. The primitive has weird-looking ordering of members, but it is necessary to accommodate the way the hardware wants the triangle information to be sent to it. The attributes of the primitive can be better visualized with this order:
pointA
, pointB
, pointC
uvA
, uvB
, uvC
clutIndex
, tpage
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
PrimPieces::ClutIndex psyqo::Prim::TexturedTriangle::clutIndex |
Vertex psyqo::Prim::TexturedTriangle::pointA |
Vertex psyqo::Prim::TexturedTriangle::pointB |
Vertex psyqo::Prim::TexturedTriangle::pointC |
PrimPieces::TPageAttr psyqo::Prim::TexturedTriangle::tpage |
PrimPieces::UVCoords psyqo::Prim::TexturedTriangle::uvA |
PrimPieces::UVCoords psyqo::Prim::TexturedTriangle::uvB |
PrimPieces::UVCoordsPadded psyqo::Prim::TexturedTriangle::uvC |