remove the unused OBB physics parameters export, since they aren't actually usefull outside ubOde

LSLKeyTest
UbitUmarov 2015-12-17 22:34:21 +00:00
parent 56e28c6c27
commit b2acef8aad
2 changed files with 0 additions and 53 deletions

View File

@ -351,35 +351,6 @@ namespace OpenSim.Region.PhysicsModules.SharedBase
public abstract Vector3 GeometricCenter { get; }
public abstract Vector3 CenterOfMass { get; }
public virtual Vector3 OOBsize
{
get
{
Vector3 s=Size;
s.X *=0.5f;
s.Y *=0.5f;
s.Z *=0.5f;
return s;
}
}
public virtual Vector3 OOBoffset
{
get
{
return Vector3.Zero;
}
}
public virtual float OOBRadiusSQ
{
get
{
return Size.LengthSquared() * 0.25f; // ((0.5^2)
}
}
public virtual float PhysicsCost
{
get

View File

@ -520,30 +520,6 @@ namespace OpenSim.Region.PhysicsModule.ubOde
}
}
public override Vector3 OOBsize
{
get
{
return m_OBB;
}
}
public override Vector3 OOBoffset
{
get
{
return m_OBBOffset;
}
}
public override float OOBRadiusSQ
{
get
{
return primOOBradiusSQ;
}
}
public override PrimitiveBaseShape Shape
{
set