mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
llGetGeometricCenter...
This commit is contained in:
@@ -8527,7 +8527,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
|
||||
public LSL_Vector llGetGeometricCenter()
|
||||
{
|
||||
return new LSL_Vector(m_host.GetGeometricCenter().X, m_host.GetGeometricCenter().Y, m_host.GetGeometricCenter().Z);
|
||||
Vector3 tmp = m_host.GetGeometricCenter();
|
||||
return new LSL_Vector(tmp.X, tmp.Y, tmp.Z);
|
||||
}
|
||||
|
||||
public LSL_List llGetPrimitiveParams(LSL_List rules)
|
||||
|
||||
Reference in New Issue
Block a user