From 8dbcfc70bf87d503edd4239bd974339a130de153 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Mon, 27 Apr 2009 05:22:44 +0000 Subject: Add copyright headers. Formatting cleanup. --- .../Shared/Api/Implementation/LSL_Api.cs | 37 ++++++++++------------ 1 file changed, 17 insertions(+), 20 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index cf3270e..f9feb7f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -6852,7 +6852,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api part.ScriptSetTemporaryStatus(tempOnRez); break; - + case (int)ScriptBaseClass.PRIM_TEXGEN: if (remain < 2) return; @@ -6894,7 +6894,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } } - public LSL_String llXorBase64Strings(string str1, string str2) { m_host.AddScriptLPS(1); @@ -7215,7 +7214,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api // vector profilecut res.Add(new LSL_Vector(Shape.ProfileBegin / 50000.0, 1 - Shape.ProfileEnd / 50000.0, 0)); - // vector tapera res.Add(new LSL_Vector(Shape.PathTaperX / 100.0, Shape.PathTaperY / 100.0, 0)); @@ -7228,7 +7226,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api // float skew res.Add(new LSL_Float(Shape.PathSkew / 100.0)); break; - } break; @@ -7246,11 +7243,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api res.Add(new LSL_String(texface.TextureID.ToString())); res.Add(new LSL_Vector(texface.RepeatU, - texface.RepeatV, - 0)); + texface.RepeatV, + 0)); res.Add(new LSL_Vector(texface.OffsetU, - texface.OffsetV, - 0)); + texface.OffsetV, + 0)); res.Add(new LSL_Float(texface.Rotation)); } } @@ -7262,11 +7259,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api res.Add(new LSL_String(texface.TextureID.ToString())); res.Add(new LSL_Vector(texface.RepeatU, - texface.RepeatV, - 0)); + texface.RepeatV, + 0)); res.Add(new LSL_Vector(texface.OffsetU, - texface.OffsetV, - 0)); + texface.OffsetV, + 0)); res.Add(new LSL_Float(texface.Rotation)); } } @@ -7286,8 +7283,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { texcolor = tex.GetFace((uint)face).RGBA; res.Add(new LSL_Vector(texcolor.R, - texcolor.G, - texcolor.B)); + texcolor.G, + texcolor.B)); res.Add(new LSL_Float(texcolor.A)); } } @@ -7295,8 +7292,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { texcolor = tex.GetFace((uint)face).RGBA; res.Add(new LSL_Vector(texcolor.R, - texcolor.G, - texcolor.B)); + texcolor.G, + texcolor.B)); res.Add(new LSL_Float(texcolor.A)); } break; @@ -7335,8 +7332,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api res.Add(new LSL_Float(shape.FlexiWind)); // wind res.Add(new LSL_Float(shape.FlexiTension)); // tension res.Add(new LSL_Vector(shape.FlexiForceX, // force - shape.FlexiForceY, - shape.FlexiForceZ)); + shape.FlexiForceY, + shape.FlexiForceZ)); break; case (int)ScriptBaseClass.PRIM_TEXGEN: @@ -7358,8 +7355,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api else res.Add(new LSL_Integer(0)); res.Add(new LSL_Vector(shape.LightColorR, // color - shape.LightColorG, - shape.LightColorB)); + shape.LightColorG, + shape.LightColorB)); res.Add(new LSL_Float(shape.LightIntensity)); // intensity res.Add(new LSL_Float(shape.LightRadius)); // radius res.Add(new LSL_Float(shape.LightFalloff)); // falloff -- cgit v1.1