diff options
Diffstat (limited to 'OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs')
-rw-r--r-- | OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs index 8bf794b..a75e5c7 100644 --- a/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs +++ b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs | |||
@@ -29,6 +29,7 @@ using System; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using OpenSim.Physics.Manager; | 30 | using OpenSim.Physics.Manager; |
31 | using PhysXWrapper; | 31 | using PhysXWrapper; |
32 | using Quaternion=Axiom.MathLib.Quaternion; | ||
32 | 33 | ||
33 | namespace OpenSim.Region.Physics.PhysXPlugin | 34 | namespace OpenSim.Region.Physics.PhysXPlugin |
34 | { | 35 | { |
@@ -240,11 +241,11 @@ namespace OpenSim.Region.Physics.PhysXPlugin | |||
240 | } | 241 | } |
241 | } | 242 | } |
242 | 243 | ||
243 | public override Axiom.MathLib.Quaternion Orientation | 244 | public override Quaternion Orientation |
244 | { | 245 | { |
245 | get | 246 | get |
246 | { | 247 | { |
247 | return Axiom.MathLib.Quaternion.Identity; | 248 | return Quaternion.Identity; |
248 | } | 249 | } |
249 | set | 250 | set |
250 | { | 251 | { |
@@ -377,11 +378,11 @@ namespace OpenSim.Region.Physics.PhysXPlugin | |||
377 | } | 378 | } |
378 | } | 379 | } |
379 | 380 | ||
380 | public override Axiom.MathLib.Quaternion Orientation | 381 | public override Quaternion Orientation |
381 | { | 382 | { |
382 | get | 383 | get |
383 | { | 384 | { |
384 | Axiom.MathLib.Quaternion res = new Axiom.MathLib.Quaternion(); | 385 | Quaternion res = new Quaternion(); |
385 | PhysXWrapper.Quaternion quat = this._prim.GetOrientation(); | 386 | PhysXWrapper.Quaternion quat = this._prim.GetOrientation(); |
386 | res.w = quat.W; | 387 | res.w = quat.W; |
387 | res.x = quat.X; | 388 | res.x = quat.X; |