From 1a4e5b8b1af9ccd67b732d79a2062c203bfa3c7d Mon Sep 17 00:00:00 2001 From: John Hurliman Date: Tue, 7 Nov 2006 23:48:27 +0000 Subject: [PATCH] Fixed a typo, renamed LLQuaternion.Unit to LLQuaternion.Identity git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@530 52acb1d6-8a22-11de-b505-999d5b087335 --- libsecondlife-cs/Avatar.cs | 4 ++-- libsecondlife-cs/Prims.cs | 2 +- libsecondlife-cs/Types.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libsecondlife-cs/Avatar.cs b/libsecondlife-cs/Avatar.cs index 22089696..8c6e37b9 100644 --- a/libsecondlife-cs/Avatar.cs +++ b/libsecondlife-cs/Avatar.cs @@ -181,7 +181,7 @@ namespace libsecondlife /// Current position of avatar public LLVector3 Position = LLVector3.Zero; /// Current rotation of avatar - public LLQuaternion Rotation = LLQuaternion.Unit; + public LLQuaternion Rotation = LLQuaternion.Identity; /// The point the avatar is currently looking at /// (may not stay updated) public LLVector3 LookAt = LLVector3.Zero; @@ -658,7 +658,7 @@ namespace libsecondlife update.AgentData.State = 0; // Semi-sane default values update.AgentData.BodyRotation = new LLQuaternion(0, 0.6519076f, 0, 0); - update.AgentData.HeadRotation = LLQuaternion.Unit; + update.AgentData.HeadRotation = LLQuaternion.Identity; update.AgentData.CameraCenter = new LLVector3(9.549901f, 7.033957f, 11.75f); update.AgentData.CameraAtAxis = new LLVector3(0.7f, 0.7f, 0); update.AgentData.CameraLeftAxis = new LLVector3(-0.7f, 0.7f, 0); diff --git a/libsecondlife-cs/Prims.cs b/libsecondlife-cs/Prims.cs index abcfc952..a704b92d 100644 --- a/libsecondlife-cs/Prims.cs +++ b/libsecondlife-cs/Prims.cs @@ -94,7 +94,7 @@ namespace libsecondlife /// public float PathRevolutions = 0; /// - public LLQuaternion Rotation = LLQuaternion.Unit; + public LLQuaternion Rotation = LLQuaternion.Identity; /// public uint State; /// diff --git a/libsecondlife-cs/Types.cs b/libsecondlife-cs/Types.cs index 9e4a7dd3..e455bc69 100644 --- a/libsecondlife-cs/Types.cs +++ b/libsecondlife-cs/Types.cs @@ -735,6 +735,6 @@ namespace libsecondlife /// /// An LLQuaternion with a value of <0,0,0,1> /// - public readonly static LLQuaternion Unit = new LLQuaternion(); + public readonly static LLQuaternion Identity = new LLQuaternion(); } }