mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
cleaned up member::radius
This commit is contained in:
parent
4615bd6db8
commit
3ceaa0ed50
12 changed files with 18 additions and 18 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue