refactor: Use LSL_Vector(Vector3) constructor in llCastRay()
parent
cbb4086e82
commit
5526177c32
|
@ -11172,7 +11172,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
list.Add(new LSL_Integer(linkNum));
|
||||
|
||||
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++;
|
||||
if (values >= count)
|
||||
|
|
Loading…
Reference in New Issue