mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
cleaned up member::radius
This commit is contained in:
parent
c98f257cae
commit
1c62080f7f
12 changed files with 18 additions and 18 deletions
|
|
@ -1225,8 +1225,8 @@ void TSShapeLoader::install()
|
|||
shape->mBounds = Box3F(1.0f);
|
||||
|
||||
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;
|
||||
|
||||
shape->init();
|
||||
shape->finalizeEditable();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue