mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
cosmetics
This commit is contained in:
@@ -1982,7 +1982,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
||||
if(noInertiaOverride)
|
||||
{
|
||||
UBOdeNative.MassTranslate(ref objdmass, -objdmass.c.X, -objdmass.c.Y, -objdmass.c.Z); // ode wants inertia at center of body
|
||||
Quaternion mr = Quaternion.Conjugate(m_orientation);
|
||||
Quaternion mr = Quaternion.Conjugate(in m_orientation);
|
||||
|
||||
UBOdeNative.RfromQ(ref mymat, ref mr);
|
||||
UBOdeNative.MassRotate(ref objdmass, ref mymat);
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
||||
//Vector3 geopos = actor.Position;
|
||||
//Quaternion geomOri = actor.Orientation;
|
||||
|
||||
Quaternion geomInvOri = Quaternion.Conjugate(geomOri);
|
||||
Quaternion geomInvOri = Quaternion.Conjugate(in geomOri);
|
||||
Quaternion ori = Quaternion.Identity;
|
||||
|
||||
Vector3 rayDir = geopos + offset - avCameraPosition;
|
||||
|
||||
Reference in New Issue
Block a user