mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-25 23:29:24 +00:00
Simple pass over the codebase to standardize the platform types.
This commit is contained in:
parent
c75d6feb20
commit
4c35fd37af
189 changed files with 824 additions and 824 deletions
|
|
@ -265,8 +265,8 @@ void Rigid::translateCenterOfMass(const Point3F &oldPos,const Point3F &newPos)
|
|||
MatrixF oldx,newx;
|
||||
oldx.setCrossProduct(oldPos);
|
||||
newx.setCrossProduct(newPos);
|
||||
for (int row = 0; row < 3; row++)
|
||||
for (int col = 0; col < 3; col++) {
|
||||
for (S32 row = 0; row < 3; row++)
|
||||
for (S32 col = 0; col < 3; col++) {
|
||||
F32 n = newx(row,col), o = oldx(row,col);
|
||||
objectInertia(row,col) += mass * ((o * o) - (n * n));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue