diff options
author | Thomas Grimshaw | 2010-04-07 07:48:26 +0200 |
---|---|---|
committer | Thomas Grimshaw | 2010-04-07 07:48:26 +0200 |
commit | 335c1b44206531bc6c0996157884d6873a580527 (patch) | |
tree | e24e135157164a6eddc7cf77a9fee330e28fdf52 /OpenSim/Region/ScriptEngine | |
parent | Merge branch 'master' of ssh://3dhosting.de/var/git/careminster (diff) | |
download | opensim-SC_OLD-335c1b44206531bc6c0996157884d6873a580527.zip opensim-SC_OLD-335c1b44206531bc6c0996157884d6873a580527.tar.gz opensim-SC_OLD-335c1b44206531bc6c0996157884d6873a580527.tar.bz2 opensim-SC_OLD-335c1b44206531bc6c0996157884d6873a580527.tar.xz |
Implement PSYS_SRC_INNERANGLE and PSYS_SRC_OUTERANGLE
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index a76f386..5be8929 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -6195,6 +6195,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
6195 | tempf = (float)rules.GetLSLFloatItem(i + 1); | 6195 | tempf = (float)rules.GetLSLFloatItem(i + 1); |
6196 | prules.OuterAngle = (float)tempf; | 6196 | prules.OuterAngle = (float)tempf; |
6197 | break; | 6197 | break; |
6198 | |||
6199 | case (int)ScriptBaseClass.PSYS_SRC_INNERANGLE: | ||
6200 | tempf = (float)rules.GetLSLFloatItem(i + 1); | ||
6201 | prules.InnerAngle = (float)tempf; | ||
6202 | break; | ||
6203 | |||
6204 | case (int)ScriptBaseClass.PSYS_SRC_OUTERANGLE: | ||
6205 | tempf = (float)rules.GetLSLFloatItem(i + 1); | ||
6206 | prules.OuterAngle = (float)tempf; | ||
6207 | break; | ||
6198 | } | 6208 | } |
6199 | 6209 | ||
6200 | } | 6210 | } |