29#include <EASTL/array.h>
45 Line() : command(0x40000000) {}
48 uint32_t wasSemiTrans = command & 0x02000000;
49 command = 0x40000000 | (
c.packed & 0xffffff) | wasSemiTrans;
53 command &= ~0x02000000;
57 command |= 0x02000000;
68static_assert(
sizeof(
Line) ==
sizeof(
uint32_t) * 3,
"Line is not 3 words");
83 uint32_t wasSemiTrans = command & 0x02000000;
84 command = 0x50000000 | (
c.packed & 0xffffff) | wasSemiTrans;
92 command &= ~0x02000000;
96 command |= 0x02000000;
127 uint32_t wasSemiTrans = command & 0x02000000;
128 command = 0x48000000 | (
c.packed & 0xffffff) | wasSemiTrans;
132 command &= ~0x02000000;
136 command |= 0x02000000;
168 uint32_t wasSemiTrans = command & 0x02000000;
169 command = 0x48000000 | (
c.packed & 0xffffff) | wasSemiTrans;
173 command &= ~0x02000000;
177 command |= 0x02000000;
188 const uint32_t endMarker = 0x50005000;
Definition cdrom-loader.hh:39
The Gouraud-shaded Line primitive.
Definition lines.hh:79
GouraudLine & setSemiTrans()
Definition lines.hh:95
GouraudLine & setOpaque()
Definition lines.hh:91
GouraudLine & setColorB(Color c)
Definition lines.hh:87
Vertex pointB
Definition lines.hh:106
GouraudLine(Color c)
Definition lines.hh:81
GouraudLine()
Definition lines.hh:80
Vertex pointA
Definition lines.hh:104
Color colorB
Definition lines.hh:105
GouraudLine & setColorA(Color c)
Definition lines.hh:82
The Line primitive.
Definition lines.hh:44
Vertex pointA
Definition lines.hh:65
Line & setSemiTrans()
Definition lines.hh:56
Vertex pointB
Definition lines.hh:66
Line()
Definition lines.hh:45
Line & setOpaque()
Definition lines.hh:52
Line(Color c)
Definition lines.hh:46
Line & setColor(Color c)
Definition lines.hh:47
The primitive used to begin a polyline.
Definition lines.hh:123
PolyLineBegin & setSemiTrans()
Definition lines.hh:135
PolyLineBegin(Color c)
Definition lines.hh:125
PolyLineBegin()
Definition lines.hh:124
Vertex point
Definition lines.hh:144
PolyLineBegin & setOpaque()
Definition lines.hh:131
PolyLineBegin & setColor(Color c)
Definition lines.hh:126
const uint32_t endMarker
Definition lines.hh:149
The primitive used to draw a polyline.
Definition lines.hh:164
PolyLine & setSemiTrans()
Definition lines.hh:176
PolyLine(Color c)
Definition lines.hh:166
PolyLine()
Definition lines.hh:165
PolyLine & setOpaque()
Definition lines.hh:172
PolyLine & setColor(Color c)
Definition lines.hh:167
eastl::array< Vertex, N+1 > points
Definition lines.hh:185
static int c
Definition syscalls.h:121
void uint32_t(classId, spec)
The Color struct.
Definition common.hh:91
The Vertex struct.
Definition common.hh:47