diff options
author | Jeff Ames | 2008-05-14 06:09:39 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-14 06:09:39 +0000 |
commit | b7a0855c3afea27f207655fca25651b19b41636a (patch) | |
tree | d049510e51b337a82ebbf88e197b3141511d9155 /OpenSim/Grid/ScriptEngine | |
parent | Applied Patch mantis 1220. Implements llGetStartParameter. Thanks! (diff) | |
download | opensim-SC-b7a0855c3afea27f207655fca25651b19b41636a.zip opensim-SC-b7a0855c3afea27f207655fca25651b19b41636a.tar.gz opensim-SC-b7a0855c3afea27f207655fca25651b19b41636a.tar.bz2 opensim-SC-b7a0855c3afea27f207655fca25651b19b41636a.tar.xz |
More formatting cleanup. Minor refactoring.
Diffstat (limited to 'OpenSim/Grid/ScriptEngine')
-rw-r--r-- | OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/LSL_BaseClass_Builtins.cs | 15 | ||||
-rw-r--r-- | OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/LSO_Enums.cs | 3 |
2 files changed, 12 insertions, 6 deletions
diff --git a/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/LSL_BaseClass_Builtins.cs b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/LSL_BaseClass_Builtins.cs index d2e565d..a551fde 100644 --- a/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/LSL_BaseClass_Builtins.cs +++ b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/LSL_BaseClass_Builtins.cs | |||
@@ -35,24 +35,29 @@ | |||
35 | // { | 35 | // { |
36 | 36 | ||
37 | 37 | ||
38 | // public float llSin() { | 38 | // public float llSin() |
39 | // { | ||
39 | // float f = (float)LSLStack.Pop(); | 40 | // float f = (float)LSLStack.Pop(); |
40 | // return LSL_Builtins.llSin(f); | 41 | // return LSL_Builtins.llSin(f); |
41 | // } | 42 | // } |
42 | // public float llCos() { | 43 | // public float llCos() |
44 | // { | ||
43 | // float f = (float)LSLStack.Pop(); | 45 | // float f = (float)LSLStack.Pop(); |
44 | // return LSL_Builtins.llCos(f); | 46 | // return LSL_Builtins.llCos(f); |
45 | // } | 47 | // } |
46 | // public float llTan() { | 48 | // public float llTan() |
49 | // { | ||
47 | // float f = (float)LSLStack.Pop(); | 50 | // float f = (float)LSLStack.Pop(); |
48 | // return LSL_Builtins.llTan(f); | 51 | // return LSL_Builtins.llTan(f); |
49 | // } | 52 | // } |
50 | // public float llAtan2() { | 53 | // public float llAtan2() |
54 | // { | ||
51 | // float x = (float)LSLStack.Pop(); | 55 | // float x = (float)LSLStack.Pop(); |
52 | // float y = (float)LSLStack.Pop(); | 56 | // float y = (float)LSLStack.Pop(); |
53 | // return LSL_Builtins.llAtan2(x, y); | 57 | // return LSL_Builtins.llAtan2(x, y); |
54 | // } | 58 | // } |
55 | // public float llSqrt() { | 59 | // public float llSqrt() |
60 | // { | ||
56 | // float f = (float)LSLStack.Pop(); | 61 | // float f = (float)LSLStack.Pop(); |
57 | // return LSL_Builtins.llSqrt(f); | 62 | // return LSL_Builtins.llSqrt(f); |
58 | // } | 63 | // } |
diff --git a/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/LSO_Enums.cs b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/LSO_Enums.cs index c679e49..97ccc18 100644 --- a/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/LSO_Enums.cs +++ b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSO/LSO_Enums.cs | |||
@@ -34,7 +34,8 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler.LSO | |||
34 | { | 34 | { |
35 | //public System.Collections.Generic.Dictionary<Byte, Type> OpCode_Add_Types; | 35 | //public System.Collections.Generic.Dictionary<Byte, Type> OpCode_Add_Types; |
36 | 36 | ||
37 | //LSO_Enums() { | 37 | //LSO_Enums() |
38 | //{ | ||
38 | // OpCode_Add_Types.Add(51, typeof(String)); | 39 | // OpCode_Add_Types.Add(51, typeof(String)); |
39 | // OpCode_Add_Types.Add(17, typeof(UInt32)); | 40 | // OpCode_Add_Types.Add(17, typeof(UInt32)); |
40 | //} | 41 | //} |