constructor means not having to manually refer to individual properties

This commit is contained in:
SignpostMarv
2012-08-18 15:10:44 +01:00
committed by Melanie
parent fb84ff96a9
commit ffdde05bb7
3 changed files with 6 additions and 6 deletions

View File

@@ -391,8 +391,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine
myScriptEngine.PostObjectEvent(localID, new EventParams(
"at_rot_target", new object[] {
new LSL_Types.LSLInteger(handle),
new LSL_Types.Quaternion(targetrot.X,targetrot.Y,targetrot.Z,targetrot.W),
new LSL_Types.Quaternion(atrot.X,atrot.Y,atrot.Z,atrot.W) },
new LSL_Types.Quaternion(targetrot),
new LSL_Types.Quaternion(atrot) },
new DetectParams[0]));
}