aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/PrimitiveBaseShape.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/PrimitiveBaseShape.cs')
-rw-r--r--OpenSim/Framework/PrimitiveBaseShape.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs
index adb55aa..cd50e9e 100644
--- a/OpenSim/Framework/PrimitiveBaseShape.cs
+++ b/OpenSim/Framework/PrimitiveBaseShape.cs
@@ -874,7 +874,7 @@ namespace OpenSim.Framework
874 874
875 for (int k = 0; k < extraParamCount; k++) 875 for (int k = 0; k < extraParamCount; k++)
876 { 876 {
877 ushort epType = Utils.BytesToUInt16(data, i); 877 ushort epType = Helpers.BytesToUInt16(data, i);
878 878
879 i += 2; 879 i += 2;
880 // uint paramLength = Helpers.BytesToUIntBig(data, i); 880 // uint paramLength = Helpers.BytesToUIntBig(data, i);
@@ -1014,9 +1014,9 @@ namespace OpenSim.Framework
1014 _lightColorG = lColor.G; 1014 _lightColorG = lColor.G;
1015 _lightColorB = lColor.B; 1015 _lightColorB = lColor.B;
1016 1016
1017 _lightRadius = Utils.BytesToFloat(data, pos + 4); 1017 _lightRadius = Helpers.BytesToFloat(data, pos + 4);
1018 _lightCutoff = Utils.BytesToFloat(data, pos + 8); 1018 _lightCutoff = Helpers.BytesToFloat(data, pos + 8);
1019 _lightFalloff = Utils.BytesToFloat(data, pos + 12); 1019 _lightFalloff = Helpers.BytesToFloat(data, pos + 12);
1020 } 1020 }
1021 else 1021 else
1022 { 1022 {
@@ -1040,9 +1040,9 @@ namespace OpenSim.Framework
1040 Color4 tmpColor = new Color4(_lightColorR,_lightColorG,_lightColorB,_lightIntensity); 1040 Color4 tmpColor = new Color4(_lightColorR,_lightColorG,_lightColorB,_lightIntensity);
1041 1041
1042 tmpColor.GetBytes().CopyTo(data, 0); 1042 tmpColor.GetBytes().CopyTo(data, 0);
1043 Utils.FloatToBytes(_lightRadius).CopyTo(data, 4); 1043 Helpers.FloatToBytes(_lightRadius).CopyTo(data, 4);
1044 Utils.FloatToBytes(_lightCutoff).CopyTo(data, 8); 1044 Helpers.FloatToBytes(_lightCutoff).CopyTo(data, 8);
1045 Utils.FloatToBytes(_lightFalloff).CopyTo(data, 12); 1045 Helpers.FloatToBytes(_lightFalloff).CopyTo(data, 12);
1046 1046
1047 return data; 1047 return data;
1048 } 1048 }