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
14#undef __interface__Starfield_impl__14#undef __interface__Starfield_impl__
15 15
16Stars::Stars() : 16Stars::Stars() :
17 _ptrController(0l) { 17 _controller(0l) {
18 _ptrController = new starfield::Controller; 18 _controller = new starfield::Controller;
19}19}
20 20
21Stars::~Stars() { 21Stars::~Stars() {
22 delete _ptrController; 22 delete _controller;
23}23}
24 24
25bool Stars::readInput(const char* url, const char* cacheFile, unsigned limit) {25bool Stars::readInput(const char* url, const char* cacheFile, unsigned limit) {
26 return _ptrController->readInput(url, cacheFile, limit); 26 return _controller->readInput(url, cacheFile, limit);
27}27}
28 28
29bool Stars::setResolution(unsigned k) { 29bool Stars::setResolution(unsigned k) {
30 return _ptrController->setResolution(k); 30 return _controller->setResolution(k);
31}31}
32 32
33float Stars::changeLOD(float fraction, float overalloc, float realloc) { 33float Stars::changeLOD(float fraction, float overalloc, float realloc) {
34 return float(_ptrController->changeLOD(fraction, overalloc, realloc));34 return float(_controller->changeLOD(fraction, overalloc, realloc));
35} 35}
36 36
37void Stars::render(float fovY, float aspect, float nearZ, float alpha) {37void 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
46 // pull the modelview matrix off the GL stack46 // pull the modelview matrix off the GL stack
47 glm::mat4 view; glGetFloatv(GL_MODELVIEW_MATRIX, glm::value_ptr(view)); 47 glm::mat4 view; glGetFloatv(GL_MODELVIEW_MATRIX, glm::value_ptr(view));
48 48
49 _ptrController->render(fovDiagonal, aspect, glm::affineInverse(view), alpha); 49 _controller->render(fovDiagonal, aspect, glm::affineInverse(view), alpha);
50}50}
51 51
52 52