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
4615bd6db8
commit
3ceaa0ed50
12 changed files with 18 additions and 18 deletions
|
|
@ -1195,7 +1195,7 @@ void TSShape::assembleShape()
|
|||
tsalloc.checkGuard();
|
||||
|
||||
// get bounds...
|
||||
tsalloc.get32((S32*)&radius,1);
|
||||
tsalloc.get32((S32*)&mRadius,1);
|
||||
tsalloc.get32((S32*)&tubeRadius,1);
|
||||
tsalloc.get32((S32*)¢er,3);
|
||||
tsalloc.get32((S32*)&mBounds,6);
|
||||
|
|
@ -1670,7 +1670,7 @@ void TSShape::disassembleShape()
|
|||
tsalloc.setGuard();
|
||||
|
||||
// get bounds...
|
||||
tsalloc.copyToBuffer32((S32*)&radius,1);
|
||||
tsalloc.copyToBuffer32((S32*)&mRadius,1);
|
||||
tsalloc.copyToBuffer32((S32*)&tubeRadius,1);
|
||||
tsalloc.copyToBuffer32((S32*)¢er,3);
|
||||
tsalloc.copyToBuffer32((S32*)&mBounds,6);
|
||||
|
|
@ -2060,7 +2060,7 @@ void TSShape::createEmptyShape()
|
|||
names[1] = StringTable->insert("Mesh2");
|
||||
names[2] = StringTable->insert("Mesh");
|
||||
|
||||
radius = 0.866025f;
|
||||
mRadius = 0.866025f;
|
||||
tubeRadius = 0.707107f;
|
||||
center.set(0.0f, 0.5f, 0.0f);
|
||||
mBounds.minExtents.set(-0.5f, 0.0f, -0.5f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue