X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/77794fd69f839fbaefe813ea5ea45601aa056da0..40171a80594f79b137900fae122a2e33a3a88f95:/culooks_cube.cpp?ds=inline 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++;