diff options
author | Sean Dague | 2007-09-13 11:41:42 +0000 |
---|---|---|
committer | Sean Dague | 2007-09-13 11:41:42 +0000 |
commit | afea5f22055fd645e95c4e1dcad01e68716fa049 (patch) | |
tree | 73dbc6fff4cba36c559234b66d24c84e00f3f162 /OpenSim/Region/ScriptEngine/Common/LSL_Types.cs | |
parent | adding eol-style attributes on new files (diff) | |
download | opensim-SC_OLD-afea5f22055fd645e95c4e1dcad01e68716fa049.zip opensim-SC_OLD-afea5f22055fd645e95c4e1dcad01e68716fa049.tar.gz opensim-SC_OLD-afea5f22055fd645e95c4e1dcad01e68716fa049.tar.bz2 opensim-SC_OLD-afea5f22055fd645e95c4e1dcad01e68716fa049.tar.xz |
remove ^M, as native storage should be UNIX format, and ^M in/out mashing
will happen on the windows side now that eol-style is correct
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/LSL_Types.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_Types.cs | 106 |
1 files changed, 53 insertions, 53 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs index b151d5a..feb8494 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs | |||
@@ -1,53 +1,53 @@ | |||
1 | using System; | 1 | using System; |
2 | 2 | ||
3 | namespace OpenSim.Region.ScriptEngine.Common | 3 | namespace OpenSim.Region.ScriptEngine.Common |
4 | { | 4 | { |
5 | [Serializable] | 5 | [Serializable] |
6 | public class LSL_Types | 6 | public class LSL_Types |
7 | { | 7 | { |
8 | [Serializable] | 8 | [Serializable] |
9 | public struct Vector3 | 9 | public struct Vector3 |
10 | { | 10 | { |
11 | public double X; | 11 | public double X; |
12 | public double Y; | 12 | public double Y; |
13 | public double Z; | 13 | public double Z; |
14 | 14 | ||
15 | public Vector3(Vector3 vector) | 15 | public Vector3(Vector3 vector) |
16 | { | 16 | { |
17 | X = (float)vector.X; | 17 | X = (float)vector.X; |
18 | Y = (float)vector.Y; | 18 | Y = (float)vector.Y; |
19 | Z = (float)vector.Z; | 19 | Z = (float)vector.Z; |
20 | } | 20 | } |
21 | public Vector3(double x, double y, double z) | 21 | public Vector3(double x, double y, double z) |
22 | { | 22 | { |
23 | X = x; | 23 | X = x; |
24 | Y = y; | 24 | Y = y; |
25 | Z = z; | 25 | Z = z; |
26 | } | 26 | } |
27 | } | 27 | } |
28 | [Serializable] | 28 | [Serializable] |
29 | public struct Quaternion | 29 | public struct Quaternion |
30 | { | 30 | { |
31 | public double X; | 31 | public double X; |
32 | public double Y; | 32 | public double Y; |
33 | public double Z; | 33 | public double Z; |
34 | public double R; | 34 | public double R; |
35 | 35 | ||
36 | public Quaternion(Quaternion Quat) | 36 | public Quaternion(Quaternion Quat) |
37 | { | 37 | { |
38 | X = (float)Quat.X; | 38 | X = (float)Quat.X; |
39 | Y = (float)Quat.Y; | 39 | Y = (float)Quat.Y; |
40 | Z = (float)Quat.Z; | 40 | Z = (float)Quat.Z; |
41 | R = (float)Quat.R; | 41 | R = (float)Quat.R; |
42 | } | 42 | } |
43 | public Quaternion(double x, double y, double z, double r) | 43 | public Quaternion(double x, double y, double z, double r) |
44 | { | 44 | { |
45 | X = x; | 45 | X = x; |
46 | Y = y; | 46 | Y = y; |
47 | Z = z; | 47 | Z = z; |
48 | R = r; | 48 | R = r; |
49 | } | 49 | } |
50 | 50 | ||
51 | } | 51 | } |
52 | } | 52 | } |
53 | } | 53 | } |