Missed some glRotatef -> gGL.rotatef conversions.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user