History

adjusts names

tosh committed 13 years ago

Commit de665c21 parent 188ff4514 files · +394 −394Browse files

Showing the changes to interface/src/Stars.cpp (1 of 14 files). Show all

Unified · Split

interface/src/Stars.cpp+7−7
@@ -14,24 +14,24 @@ · 13 unmodified lines
1414 #undef __interface__Starfield_impl__
1515
1616 Stars::Stars() :
17− _ptrController(0l) {
18− _ptrController = new starfield::Controller;
17+ _controller(0l) {
18+ _controller = new starfield::Controller;
1919 }
2020
2121 Stars::~Stars() {
22− delete _ptrController;
22+ delete _controller;
2323 }
2424
2525 bool Stars::readInput(const char* url, const char* cacheFile, unsigned limit) {
26− return _ptrController->readInput(url, cacheFile, limit);
26+ return _controller->readInput(url, cacheFile, limit);
2727 }
2828
2929 bool Stars::setResolution(unsigned k) {
30− return _ptrController->setResolution(k);
30+ return _controller->setResolution(k);
3131 }
3232
3333 float Stars::changeLOD(float fraction, float overalloc, float realloc) {
34− return float(_ptrController->changeLOD(fraction, overalloc, realloc));
34+ return float(_controller->changeLOD(fraction, overalloc, realloc));
3535 }
3636
3737 void Stars::render(float fovY, float aspect, float nearZ, float alpha) {
@@ -46,7 +46,7 @@ void Stars::render(float fovY, float aspect, float nearZ, float alpha) { · 8 unmodified lines
4646 // pull the modelview matrix off the GL stack
4747 glm::mat4 view; glGetFloatv(GL_MODELVIEW_MATRIX, glm::value_ptr(view));
4848
49− _ptrController->render(fovDiagonal, aspect, glm::affineInverse(view), alpha);
49+ _controller->render(fovDiagonal, aspect, glm::affineInverse(view), alpha);
5050 }
5151
5252