Missed some glRotatef -> gGL.rotatef conversions.

This commit is contained in:
Shyotl
2011-11-23 23:39:42 -06:00
parent dc3831c86b
commit 9f9daba33d
7 changed files with 10 additions and 10 deletions

View File

@@ -250,7 +250,7 @@ void setup_transforms_bbox(LLBBox bbox)
// gGL has no rotate method (despite having translate and scale) presumably because
// its authors smoke crack. so we hack.
gGL.flush();
glRotatef(angle_radians * RAD_TO_DEG, x, y, z);
gGL.rotatef(angle_radians * RAD_TO_DEG, x, y, z);
// scale
LLVector3 scale = bbox.getMaxLocal() - bbox.getMinLocal();