Mercurial > hg > aimc
diff src/Modules/Output/Graphics/Devices/GraphicsOutputDevice.cc @ 227:73c6d61440ad
- First add of a lot of graphics code from the old version. Not working yet, not even compiling yet.
author | tomwalters |
---|---|
date | Fri, 15 Oct 2010 05:40:53 +0000 |
parents | a9cb396529c2 |
children | 82e0dc3dfd16 |
line wrap: on
line diff
--- a/src/Modules/Output/Graphics/Devices/GraphicsOutputDevice.cc Wed Sep 29 00:24:03 2010 +0000 +++ b/src/Modules/Output/Graphics/Devices/GraphicsOutputDevice.cc Fri Oct 15 05:40:53 2010 +0000 @@ -18,10 +18,8 @@ #include "Support/Common.h" #include "Modules/Output/Graphics/Devices/GraphicsOutputDevice.h" -namespace aimc { - -GraphicsOutputDevice::GraphicsOutputDevice(Parameters *parameters) { - parameters_ = parameters; +GraphicsOutputDevice::GraphicsOutputDevice(Parameters *pParam) { + m_pParam = pParam; } void GraphicsOutputDevice::gVertex3f(float x, @@ -30,8 +28,8 @@ float r, float g, float b) { - gColor3f(r, g, b); - gVertex3f(x, y, z); + gColor3f(r, g, b); + gVertex3f(x, y, z); } void GraphicsOutputDevice::gVertex2f(float x, @@ -39,18 +37,17 @@ float r, float g, float b) { - gColor3f(r, g, b); - gVertex3f(x, y, 0); + gColor3f(r, g, b); + gVertex3f(x, y, 0); } void GraphicsOutputDevice::gVertex2f(float x, float y) { - gVertex3f(x, y, 0); + gVertex3f(x, y, 0); } void GraphicsOutputDevice::gText2f(float x, float y, - const char *text_string, - bool rotated) { - gText3f(x, y, 0, text_string, rotated); + const char *sStr, + bool bRotated) { + gText3f(x, y, 0, sStr, bRotated); } -} // namespace aimc