diff options
author | John Hurliman | 2009-11-04 16:08:10 -0800 |
---|---|---|
committer | John Hurliman | 2009-11-04 16:08:10 -0800 |
commit | ec2ebf2598028daf4ff2003a53be3ca40ffc8272 (patch) | |
tree | c80cba8f5ddc4f6a95af6339d46fa1c7bd22b24c /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Remove parallel loading from XEngine, but retain the new design where (diff) | |
download | opensim-SC-ec2ebf2598028daf4ff2003a53be3ca40ffc8272.zip opensim-SC-ec2ebf2598028daf4ff2003a53be3ca40ffc8272.tar.gz opensim-SC-ec2ebf2598028daf4ff2003a53be3ca40ffc8272.tar.bz2 opensim-SC-ec2ebf2598028daf4ff2003a53be3ca40ffc8272.tar.xz |
Removing EntityBase.Rotation
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 6c0d9f2..b12eea9 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -481,6 +481,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
481 | } | 481 | } |
482 | } | 482 | } |
483 | 483 | ||
484 | public Quaternion Rotation | ||
485 | { | ||
486 | get { return m_bodyRot; } | ||
487 | set { m_bodyRot = value; } | ||
488 | } | ||
489 | |||
484 | /// <summary> | 490 | /// <summary> |
485 | /// If this is true, agent doesn't have a representation in this scene. | 491 | /// If this is true, agent doesn't have a representation in this scene. |
486 | /// this is an agent 'looking into' this scene from a nearby scene(region) | 492 | /// this is an agent 'looking into' this scene from a nearby scene(region) |
@@ -2256,7 +2262,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2256 | 2262 | ||
2257 | m_perfMonMS = Environment.TickCount; | 2263 | m_perfMonMS = Environment.TickCount; |
2258 | 2264 | ||
2259 | m_rotation = rotation; | 2265 | Rotation = rotation; |
2260 | Vector3 direc = vec * rotation; | 2266 | Vector3 direc = vec * rotation; |
2261 | direc.Normalize(); | 2267 | direc.Normalize(); |
2262 | 2268 | ||