aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorUbitUmarov2012-06-12 02:20:47 +0100
committerUbitUmarov2012-06-12 02:20:47 +0100
commit5fd6f678a46de8109d7178ba788e458053e34c06 (patch)
treeee1134863f51f52ab863406bc0c8f652c44842da /OpenSim/Region/Framework/Scenes
parent*UNTESTED* extended llGet*PrimitiveParam() to support avatars. Some auxiliar ... (diff)
downloadopensim-SC-5fd6f678a46de8109d7178ba788e458053e34c06.zip
opensim-SC-5fd6f678a46de8109d7178ba788e458053e34c06.tar.gz
opensim-SC-5fd6f678a46de8109d7178ba788e458053e34c06.tar.bz2
opensim-SC-5fd6f678a46de8109d7178ba788e458053e34c06.tar.xz
Moved auxiliar funtions of last commit from sop to lsl api since they are only used on one place each
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs34
1 files changed, 0 insertions, 34 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 21e2878..a810de2 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -519,40 +519,6 @@ namespace OpenSim.Region.Framework.Scenes
519 } 519 }
520 } 520 }
521 521
522 // returns offset position relative to root prim of object when siting
523 public Vector3 OffsetPositionToSOGRoot
524 {
525 get
526 {
527 if (ParentPart != null)
528 return ParentPart.OffsetPosition + (m_pos * ParentPart.RotationOffset);
529 else
530 return m_pos;
531 }
532 }
533
534 public Quaternion OffsetRotationToSOGRoot
535 {
536 get
537 {
538 if (ParentPart != null)
539 return ParentPart.RotationOffset * Rotation;
540 else
541 return Rotation;
542 }
543 }
544
545 public Quaternion WorldRotation
546 {
547 get
548 {
549 if (ParentPart != null)
550 return ParentPart.GetWorldRotation() * Rotation;
551 else
552 return Rotation;
553 }
554 }
555
556 /// <summary> 522 /// <summary>
557 /// Current velocity of the avatar. 523 /// Current velocity of the avatar.
558 /// </summary> 524 /// </summary>