diff options
author | Adam Frisby | 2009-04-04 06:28:55 +0000 |
---|---|---|
committer | Adam Frisby | 2009-04-04 06:28:55 +0000 |
commit | c3e1756a48049664a4381cb8b2497415719d8d5c (patch) | |
tree | b900d2fc13903025a5add9113f7c8437ab7f6d7a /OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs | |
parent | * Drops Heightmap.Get/Heightmap.Set from IHeightmap interface. (diff) | |
download | opensim-SC-c3e1756a48049664a4381cb8b2497415719d8d5c.zip opensim-SC-c3e1756a48049664a4381cb8b2497415719d8d5c.tar.gz opensim-SC-c3e1756a48049664a4381cb8b2497415719d8d5c.tar.bz2 opensim-SC-c3e1756a48049664a4381cb8b2497415719d8d5c.tar.xz |
* Removes IObject.Position, IObject.Rotation from IObject
* Adds IObject.WorldPosition and IObject.OffsetPosition - this is equivilent to AbsolutePosition and OffsetPosition in SOP respectively.
* Adds IObject.WorldRotation and IObject.OffsetRotation - as above.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs index 12d996a..f53a7df 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs | |||
@@ -103,13 +103,19 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
103 | set { GetSOP().Scale = value; } | 103 | set { GetSOP().Scale = value; } |
104 | } | 104 | } |
105 | 105 | ||
106 | public Quaternion Rotation | 106 | public Quaternion WorldRotation |
107 | { | 107 | { |
108 | get { throw new System.NotImplementedException(); } | 108 | get { throw new System.NotImplementedException(); } |
109 | set { throw new System.NotImplementedException(); } | 109 | set { throw new System.NotImplementedException(); } |
110 | } | 110 | } |
111 | 111 | ||
112 | public Vector3 Position | 112 | public Quaternion OffsetRotation |
113 | { | ||
114 | get { throw new System.NotImplementedException(); } | ||
115 | set { throw new System.NotImplementedException(); } | ||
116 | } | ||
117 | |||
118 | public Vector3 WorldPosition | ||
113 | { | 119 | { |
114 | get { return GetSOP().AbsolutePosition; } | 120 | get { return GetSOP().AbsolutePosition; } |
115 | set | 121 | set |
@@ -119,6 +125,12 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
119 | } | 125 | } |
120 | } | 126 | } |
121 | 127 | ||
128 | public Vector3 OffsetPosition | ||
129 | { | ||
130 | get { return GetSOP().OffsetPosition; } | ||
131 | set { GetSOP().OffsetPosition = value; } | ||
132 | } | ||
133 | |||
122 | public Vector3 SitTarget | 134 | public Vector3 SitTarget |
123 | { | 135 | { |
124 | get { throw new System.NotImplementedException(); } | 136 | get { throw new System.NotImplementedException(); } |