X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/97cc6a3d53ebfa5bf64b004957b9cb54289d9b9e..5a4132d73bb1872523e9a7fccfa38cffbd551dda:/culooks_cube.cpp diff --git a/culooks_cube.cpp b/culooks_cube.cpp index 2498fef..29976e4 100644 --- a/culooks_cube.cpp +++ b/culooks_cube.cpp @@ -1,10 +1,10 @@ -#include "culooks_cube.h" +#include "culooks.h" #include -int cube::allid = 0; +int culooks::cube::allid = 0; -void cube::draw() +void culooks::cube::draw() { glMatrixMode(GL_MODELVIEW); glPushMatrix(); @@ -18,7 +18,7 @@ void cube::draw() glPopMatrix(); } -void cube::drawAll() +void culooks::cube::drawAll() { glMatrixMode(GL_MODELVIEW); glPushMatrix(); @@ -79,7 +79,7 @@ void cube::drawAll() glPopMatrix(); } -cube::cube(int _l) +culooks::cube::cube(int _l) { l = _l; link = new float[l*l*l*3 * 4];