Update of /cvsroot/simspark/simspark/spark/kerosin/sceneserver
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8950
Modified Files:
sphere.cpp
Log Message:
- update bounding box after the radius of a sphere changes
Index: sphere.cpp
===================================================================
RCS file: /cvsroot/simspark/simspark/spark/kerosin/sceneserver/sphere.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** sphere.cpp 5 Dec 2005 21:38:23 -0000 1.1
--- sphere.cpp 15 Feb 2006 00:58:14 -0000 1.2
***************
*** 51,53 ****
--- 51,54 ----
mScale[1] = radius;
mScale[2] = radius;
+ CalcBoundingBox();
}
|