diff options
Diffstat (limited to 'OpenSim/Region/Examples/SimpleModule/CpuCounterObject.cs')
-rw-r--r-- | OpenSim/Region/Examples/SimpleModule/CpuCounterObject.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Examples/SimpleModule/CpuCounterObject.cs b/OpenSim/Region/Examples/SimpleModule/CpuCounterObject.cs index e7d5db8..126ccd3 100644 --- a/OpenSim/Region/Examples/SimpleModule/CpuCounterObject.cs +++ b/OpenSim/Region/Examples/SimpleModule/CpuCounterObject.cs | |||
@@ -27,7 +27,7 @@ | |||
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Diagnostics; | 29 | using System.Diagnostics; |
30 | using libsecondlife; | 30 | using OpenMetaverse; |
31 | using OpenSim.Framework; | 31 | using OpenSim.Framework; |
32 | using OpenSim.Region.Environment.Scenes; | 32 | using OpenSim.Region.Environment.Scenes; |
33 | 33 | ||
@@ -45,7 +45,7 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
45 | 45 | ||
46 | private PerformanceCounter m_counter; | 46 | private PerformanceCounter m_counter; |
47 | 47 | ||
48 | public CpuCounterObject(Scene world, ulong regionHandle, LLUUID ownerID, uint localID, LLVector3 pos) | 48 | public CpuCounterObject(Scene world, ulong regionHandle, UUID ownerID, uint localID, Vector3 pos) |
49 | : base(world, regionHandle, ownerID, localID, pos, PrimitiveBaseShape.Default) | 49 | : base(world, regionHandle, ownerID, localID, pos, PrimitiveBaseShape.Default) |
50 | { | 50 | { |
51 | String objectName = "Processor"; | 51 | String objectName = "Processor"; |
@@ -58,7 +58,7 @@ namespace OpenSim.Region.Examples.SimpleModule | |||
58 | public override void UpdateMovement() | 58 | public override void UpdateMovement() |
59 | { | 59 | { |
60 | float cpu = m_counter.NextValue()/40f; | 60 | float cpu = m_counter.NextValue()/40f; |
61 | LLVector3 size = new LLVector3(cpu, cpu, cpu); | 61 | Vector3 size = new Vector3(cpu, cpu, cpu); |
62 | 62 | ||
63 | RootPart.Resize(size); | 63 | RootPart.Resize(size); |
64 | 64 | ||