X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/77794fd69f839fbaefe813ea5ea45601aa056da0..0f00e94a831b00898a48dc5bfc00572a37b611e4:/culooks_cube.cpp?ds=sidebyside diff --git a/culooks_cube.cpp b/culooks_cube.cpp index 890ff16..412b1d9 100644 --- a/culooks_cube.cpp +++ b/culooks_cube.cpp @@ -59,8 +59,8 @@ void culooks::cube::draw() glDisable(GL_BLEND); glPushMatrix(); glScalef(zoom*1.01, zoom*1.01, zoom*1.01); - glRotatef(az, 0, 1, 0); glRotatef(alt, 1, 0, 0); + glRotatef(az, 0, 1, 0); glColor4f(wireColor[0], wireColor[1], wireColor[2], wireColor[3]); glLineWidth(framewidth); glutWireCube(2); @@ -71,8 +71,8 @@ void culooks::cube::draw() glEnable(GL_BLEND); glPushMatrix(); glScalef(zoom, zoom, zoom); - glRotatef(az, 0, 1, 0); glRotatef(alt, 1, 0, 0); + glRotatef(az, 0, 1, 0); drawAll(); glPopMatrix(); @@ -162,9 +162,9 @@ culooks::cube::cube(int _l) link = linkbuf[0]; plaq = plaqbuf[0]; - az = 30; - alt = -20; - zoom = 0.6; + az = 45; + alt = -30; + zoom = 0.57; id = allid; allid++;