mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-27 18:43: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
|
|
@ -269,7 +269,7 @@ void GuiMaterialPreview::setObjectModel(const char* modelName)
|
|||
|
||||
// Initialize camera values:
|
||||
mOrbitPos = mModel->getShape()->center;
|
||||
mMinOrbitDist = mModel->getShape()->radius;
|
||||
mMinOrbitDist = mModel->getShape()->mRadius;
|
||||
|
||||
lastRenderTime = Platform::getVirtualMilliseconds();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -367,7 +367,7 @@ void GuiObjectView::setObjectModel( const String& modelName )
|
|||
// Initialize camera values.
|
||||
|
||||
mOrbitPos = mModel->getShape()->center;
|
||||
mMinOrbitDist = mModel->getShape()->radius;
|
||||
mMinOrbitDist = mModel->getShape()->mRadius;
|
||||
|
||||
// Initialize animation.
|
||||
|
||||
|
|
|
|||
|
|
@ -400,7 +400,7 @@ bool WheeledVehicleData::preload(bool server, String &errorStr)
|
|||
MatrixF imat(1);
|
||||
SphereF sphere;
|
||||
sphere.center = mShape->center;
|
||||
sphere.radius = mShape->radius;
|
||||
sphere.radius = mShape->mRadius;
|
||||
PlaneExtractorPolyList polyList;
|
||||
polyList.mPlaneList = &rigidBody.mPlaneList;
|
||||
polyList.setTransform(&imat, Point3F(1,1,1));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue