mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
revert introduction of some in arguments
This commit is contained in:
@@ -448,11 +448,13 @@ namespace OpenSim.Region.PhysicsModules.SharedBase
|
||||
|
||||
public virtual PhysicsInertiaData GetInertiaData()
|
||||
{
|
||||
PhysicsInertiaData data = new PhysicsInertiaData();
|
||||
data.TotalMass = this.Mass;
|
||||
data.CenterOfMass = CenterOfMass - Position;
|
||||
data.Inertia = Vector3.Zero;
|
||||
data.InertiaRotation = Vector4.Zero;
|
||||
PhysicsInertiaData data = new()
|
||||
{
|
||||
TotalMass = Mass,
|
||||
CenterOfMass = CenterOfMass - Position,
|
||||
Inertia = Vector3.Zero,
|
||||
InertiaRotation = Vector4.Zero
|
||||
};
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user