Implement PSYS_SRC_INNERANGLE and PSYS_SRC_OUTERANGLE

avinationmerge
Thomas Grimshaw 2010-04-07 07:48:26 +02:00
parent a97a887ea4
commit 335c1b4420
1 changed files with 10 additions and 0 deletions

View File

@ -6195,6 +6195,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
tempf = (float)rules.GetLSLFloatItem(i + 1); tempf = (float)rules.GetLSLFloatItem(i + 1);
prules.OuterAngle = (float)tempf; prules.OuterAngle = (float)tempf;
break; break;
case (int)ScriptBaseClass.PSYS_SRC_INNERANGLE:
tempf = (float)rules.GetLSLFloatItem(i + 1);
prules.InnerAngle = (float)tempf;
break;
case (int)ScriptBaseClass.PSYS_SRC_OUTERANGLE:
tempf = (float)rules.GetLSLFloatItem(i + 1);
prules.OuterAngle = (float)tempf;
break;
} }
} }