diff options
author | John Hurliman | 2009-10-25 23:16:12 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-26 18:23:43 -0700 |
commit | d199767e6991d6f368661fce9c5a072e564b8a4b (patch) | |
tree | d9347b8a424c0164e208f908613aa8fe1511444b /OpenSim/Region/Physics/Manager/PhysicsSensor.cs | |
parent | * Double the priority on avatar bake texture requests to get avatars rezzing ... (diff) | |
download | opensim-SC-d199767e6991d6f368661fce9c5a072e564b8a4b.zip opensim-SC-d199767e6991d6f368661fce9c5a072e564b8a4b.tar.gz opensim-SC-d199767e6991d6f368661fce9c5a072e564b8a4b.tar.bz2 opensim-SC-d199767e6991d6f368661fce9c5a072e564b8a4b.tar.xz |
Experimental change of PhysicsVector to Vector3. Untested
Diffstat (limited to 'OpenSim/Region/Physics/Manager/PhysicsSensor.cs')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsSensor.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsSensor.cs b/OpenSim/Region/Physics/Manager/PhysicsSensor.cs index 090ad52..f480d71 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsSensor.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsSensor.cs | |||
@@ -27,6 +27,7 @@ | |||
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Timers; | 29 | using System.Timers; |
30 | using OpenMetaverse; | ||
30 | 31 | ||
31 | namespace OpenSim.Region.Physics.Manager | 32 | namespace OpenSim.Region.Physics.Manager |
32 | { | 33 | { |
@@ -46,7 +47,7 @@ namespace OpenSim.Region.Physics.Manager | |||
46 | { | 47 | { |
47 | get { return new NullPhysicsSensor(); } | 48 | get { return new NullPhysicsSensor(); } |
48 | } | 49 | } |
49 | public abstract PhysicsVector Position {get; set;} | 50 | public abstract Vector3 Position { get; set; } |
50 | public abstract void TimerCallback (object obj, ElapsedEventArgs eea); | 51 | public abstract void TimerCallback (object obj, ElapsedEventArgs eea); |
51 | public abstract float radianarc {get; set;} | 52 | public abstract float radianarc {get; set;} |
52 | public abstract string targetname {get; set;} | 53 | public abstract string targetname {get; set;} |
@@ -58,9 +59,9 @@ namespace OpenSim.Region.Physics.Manager | |||
58 | 59 | ||
59 | public class NullPhysicsSensor : PhysicsSensor | 60 | public class NullPhysicsSensor : PhysicsSensor |
60 | { | 61 | { |
61 | public override PhysicsVector Position | 62 | public override Vector3 Position |
62 | { | 63 | { |
63 | get { return PhysicsVector.Zero; } | 64 | get { return Vector3.Zero; } |
64 | set { return; } | 65 | set { return; } |
65 | } | 66 | } |
66 | public override void TimerCallback(object obj, ElapsedEventArgs eea) | 67 | public override void TimerCallback(object obj, ElapsedEventArgs eea) |