|
Nugget
|
The Gouraud-shaded Line primitive. More...
#include <psyqo/primitives/lines.hh>

Public Member Functions | |
| GouraudLine () | |
| GouraudLine (Color c) | |
| GouraudLine & | setColorA (Color c) |
| GouraudLine & | setColorB (Color c) |
| GouraudLine & | setOpaque () |
| GouraudLine & | setSemiTrans () |
Public Attributes | |
| Vertex | pointA |
| Color | colorB |
| Vertex | pointB |
The Gouraud-shaded Line primitive.
The Line primitive will draw a single, gouraud-shaded segment. It will be drawn between the pointA and pointB vertices. The color of the segment will be interpolated between the colorA and colorB colors. Note that colorA can only be set using the constructor, or the setColorA method.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| Color psyqo::Prim::GouraudLine::colorB |
| Vertex psyqo::Prim::GouraudLine::pointA |
| Vertex psyqo::Prim::GouraudLine::pointB |