refactor: Use LSL_Vector(Vector3) constructor in llGetVel()
parent
681b07f668
commit
99a0f76998
|
@ -2328,7 +2328,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
vel = m_host.Velocity;
|
vel = m_host.Velocity;
|
||||||
}
|
}
|
||||||
|
|
||||||
return new LSL_Vector(vel.X, vel.Y, vel.Z);
|
return new LSL_Vector(vel);
|
||||||
}
|
}
|
||||||
|
|
||||||
public LSL_Vector llGetAccel()
|
public LSL_Vector llGetAccel()
|
||||||
|
|
Loading…
Reference in New Issue