aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsVector.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsVector.cs b/OpenSim/Region/Physics/Manager/PhysicsVector.cs
index c275021..d6f4d0d 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsVector.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsVector.cs
@@ -46,12 +46,17 @@ namespace OpenSim.Region.Physics.Manager
46 Z = z; 46 Z = z;
47 } 47 }
48 48
49 public PhysicsVector(PhysicsVector pv) : this(pv.X, pv.Y, pv.Z)
50 {
51 }
52
49 public void setValues(float x, float y, float z) 53 public void setValues(float x, float y, float z)
50 { 54 {
51 X = x; 55 X = x;
52 Y = y; 56 Y = y;
53 Z = z; 57 Z = z;
54 } 58 }
59
55 public static readonly PhysicsVector Zero = new PhysicsVector(0f, 0f, 0f); 60 public static readonly PhysicsVector Zero = new PhysicsVector(0f, 0f, 0f);
56 61
57 public override string ToString() 62 public override string ToString()