comparison src/Modules/Output/Graphics/Devices/GraphicsOutputDevice.cc @ 228:82e0dc3dfd16

- All \t to two spaces (style guide compliance)
author tomwalters
date Fri, 15 Oct 2010 05:46:53 +0000
parents 73c6d61440ad
children ddf35dd82d63
comparison
equal deleted inserted replaced
227:73c6d61440ad 228:82e0dc3dfd16
17 17
18 #include "Support/Common.h" 18 #include "Support/Common.h"
19 #include "Modules/Output/Graphics/Devices/GraphicsOutputDevice.h" 19 #include "Modules/Output/Graphics/Devices/GraphicsOutputDevice.h"
20 20
21 GraphicsOutputDevice::GraphicsOutputDevice(Parameters *pParam) { 21 GraphicsOutputDevice::GraphicsOutputDevice(Parameters *pParam) {
22 m_pParam = pParam; 22 m_pParam = pParam;
23 } 23 }
24 24
25 void GraphicsOutputDevice::gVertex3f(float x, 25 void GraphicsOutputDevice::gVertex3f(float x,
26 float y, 26 float y,
27 float z, 27 float z,
28 float r, 28 float r,
29 float g, 29 float g,
30 float b) { 30 float b) {
31 gColor3f(r, g, b); 31 gColor3f(r, g, b);
32 gVertex3f(x, y, z); 32 gVertex3f(x, y, z);
33 } 33 }
34 34
35 void GraphicsOutputDevice::gVertex2f(float x, 35 void GraphicsOutputDevice::gVertex2f(float x,
36 float y, 36 float y,
37 float r, 37 float r,
38 float g, 38 float g,
39 float b) { 39 float b) {
40 gColor3f(r, g, b); 40 gColor3f(r, g, b);
41 gVertex3f(x, y, 0); 41 gVertex3f(x, y, 0);
42 } 42 }
43 43
44 void GraphicsOutputDevice::gVertex2f(float x, float y) { 44 void GraphicsOutputDevice::gVertex2f(float x, float y) {
45 gVertex3f(x, y, 0); 45 gVertex3f(x, y, 0);
46 } 46 }
47 47
48 void GraphicsOutputDevice::gText2f(float x, 48 void GraphicsOutputDevice::gText2f(float x,
49 float y, 49 float y,
50 const char *sStr, 50 const char *sStr,
51 bool bRotated) { 51 bool bRotated) {
52 gText3f(x, y, 0, sStr, bRotated); 52 gText3f(x, y, 0, sStr, bRotated);
53 } 53 }