refactor: Use LSL_Vector(Vector3) constructor in llCastRay()
parent
ca99f418d8
commit
f8dab4f93f
|
@ -11462,7 +11462,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
list.Add(new LSL_Integer(linkNum));
|
list.Add(new LSL_Integer(linkNum));
|
||||||
|
|
||||||
if ((dataFlags & ScriptBaseClass.RC_GET_NORMAL) == ScriptBaseClass.RC_GET_NORMAL)
|
if ((dataFlags & ScriptBaseClass.RC_GET_NORMAL) == ScriptBaseClass.RC_GET_NORMAL)
|
||||||
list.Add(new LSL_Vector(result.Normal.X, result.Normal.Y, result.Normal.Z));
|
list.Add(new LSL_Vector(result.Normal));
|
||||||
|
|
||||||
values++;
|
values++;
|
||||||
if (values >= count)
|
if (values >= count)
|
||||||
|
|
Loading…
Reference in New Issue