Nugget
Bare-metal libraries and examples for the original PlayStation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
psyqo::Prim::Line Struct Reference

The Line primitive. More...

#include <psyqo/primitives/lines.hh>

Collaboration diagram for psyqo::Prim::Line:
Collaboration graph
[legend]

Public Member Functions

 Line ()
 
 Line (Color c)
 
Line & setColor (Color c)
 
Line & setOpaque ()
 
Line & setSemiTrans ()
 

Public Attributes

Vertex pointA
 
Vertex pointB
 

Detailed Description

The Line primitive.

The Line primitive will draw a single, flat-colored segment. It will be drawn between the pointA and pointB vertices.

Constructor & Destructor Documentation

◆ Line() [1/2]

psyqo::Prim::Line::Line ( )
inline

◆ Line() [2/2]

psyqo::Prim::Line::Line ( Color  c)
inline

Member Function Documentation

◆ setColor()

Line & psyqo::Prim::Line::setColor ( Color  c)
inline

◆ setOpaque()

Line & psyqo::Prim::Line::setOpaque ( )
inline

◆ setSemiTrans()

Line & psyqo::Prim::Line::setSemiTrans ( )
inline

Member Data Documentation

◆ pointA

Vertex psyqo::Prim::Line::pointA

◆ pointB

Vertex psyqo::Prim::Line::pointB

The documentation for this struct was generated from the following file: