cleaned up member::radius

This commit is contained in:
Azaezel 2018-03-13 15:31:00 -05:00
parent c98f257cae
commit 1c62080f7f
12 changed files with 18 additions and 18 deletions

View file

@ -1459,8 +1459,8 @@ DefineTSShapeConstructorMethod( setBounds, bool, ( Box3F bbox ),,
shape->mBounds = bbox;
shape->mBounds.getCenter( &shape->center );
shape->radius = ( shape->mBounds.maxExtents - shape->center ).len();
shape->tubeRadius = shape->radius;
shape->mRadius = ( shape->mBounds.maxExtents - shape->center ).len();
shape->tubeRadius = shape->mRadius;
ADD_TO_CHANGE_SET();
return true;