From c25b7e5838c81b16e4d3e26c8de896ceda2560a8 Mon Sep 17 00:00:00 2001 From: Deltin Date: Mon, 20 May 2019 21:37:41 -0400 Subject: [PATCH] Updated references to XOf, YOf, and ZOf. --- .../Deltinteger/Elements/CustomMethods.cs | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/Deltinteger/Deltinteger/Elements/CustomMethods.cs b/Deltinteger/Deltinteger/Elements/CustomMethods.cs index acceb949b..170f70e3f 100644 --- a/Deltinteger/Deltinteger/Elements/CustomMethods.cs +++ b/Deltinteger/Deltinteger/Elements/CustomMethods.cs @@ -59,9 +59,9 @@ static MethodResult AngleOfVectors(bool isGlobal, object[] parameters) ab.SetVariable( Element.Part ( - Element.Part(Element.Part(b.GetVariable()), Element.Part(a.GetVariable())), - Element.Part(Element.Part(b.GetVariable()), Element.Part(a.GetVariable())), - Element.Part(Element.Part(b.GetVariable()), Element.Part(a.GetVariable())) + Element.Part(Element.Part(b.GetVariable()), Element.Part(a.GetVariable())), + Element.Part(Element.Part(b.GetVariable()), Element.Part(a.GetVariable())), + Element.Part(Element.Part(b.GetVariable()), Element.Part(a.GetVariable())) ), eventPlayer), // get bc @@ -69,9 +69,9 @@ static MethodResult AngleOfVectors(bool isGlobal, object[] parameters) bc.SetVariable( Element.Part ( - Element.Part(Element.Part(c.GetVariable()), Element.Part(b.GetVariable())), - Element.Part(Element.Part(c.GetVariable()), Element.Part(b.GetVariable())), - Element.Part(Element.Part(c.GetVariable()), Element.Part(b.GetVariable())) + Element.Part(Element.Part(c.GetVariable()), Element.Part(b.GetVariable())), + Element.Part(Element.Part(c.GetVariable()), Element.Part(b.GetVariable())), + Element.Part(Element.Part(c.GetVariable()), Element.Part(b.GetVariable())) ), eventPlayer), // get abVec @@ -97,9 +97,9 @@ static MethodResult AngleOfVectors(bool isGlobal, object[] parameters) abNorm.SetVariable( Element.Part ( - Element.Part(Element.Part(ab.GetVariable()), abVec.GetVariable()), - Element.Part(Element.Part(ab.GetVariable()), abVec.GetVariable()), - Element.Part(Element.Part(ab.GetVariable()), abVec.GetVariable()) + Element.Part(Element.Part(ab.GetVariable()), abVec.GetVariable()), + Element.Part(Element.Part(ab.GetVariable()), abVec.GetVariable()), + Element.Part(Element.Part(ab.GetVariable()), abVec.GetVariable()) ), eventPlayer), // get bcNorm @@ -107,9 +107,9 @@ static MethodResult AngleOfVectors(bool isGlobal, object[] parameters) bcNorm.SetVariable( Element.Part ( - Element.Part(Element.Part(bc.GetVariable()), bcVec.GetVariable()), - Element.Part(Element.Part(bc.GetVariable()), bcVec.GetVariable()), - Element.Part(Element.Part(bc.GetVariable()), bcVec.GetVariable()) + Element.Part(Element.Part(bc.GetVariable()), bcVec.GetVariable()), + Element.Part(Element.Part(bc.GetVariable()), bcVec.GetVariable()), + Element.Part(Element.Part(bc.GetVariable()), bcVec.GetVariable()) ), eventPlayer), }, // get res @@ -119,10 +119,10 @@ static MethodResult AngleOfVectors(bool isGlobal, object[] parameters) ( Element.Part ( - Element.Part(Element.Part(abNorm.GetVariable()), Element.Part(bcNorm.GetVariable())), - Element.Part(Element.Part(abNorm.GetVariable()), Element.Part(bcNorm.GetVariable())) + Element.Part(Element.Part(abNorm.GetVariable()), Element.Part(bcNorm.GetVariable())), + Element.Part(Element.Part(abNorm.GetVariable()), Element.Part(bcNorm.GetVariable())) ), - Element.Part(Element.Part(abNorm.GetVariable()), Element.Part(bcNorm.GetVariable())) + Element.Part(Element.Part(abNorm.GetVariable()), Element.Part(bcNorm.GetVariable())) ), CustomMethodType.MultiAction_Value );