Fixed a typo, renamed LLQuaternion.Unit to LLQuaternion.Identity

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@530 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2006-11-07 23:48:27 +00:00
parent 2d8fdcaf8f
commit 1a4e5b8b1a
3 changed files with 4 additions and 4 deletions

View File

@@ -181,7 +181,7 @@ namespace libsecondlife
/// <summary>Current position of avatar</summary>
public LLVector3 Position = LLVector3.Zero;
/// <summary>Current rotation of avatar</summary>
public LLQuaternion Rotation = LLQuaternion.Unit;
public LLQuaternion Rotation = LLQuaternion.Identity;
/// <summary>The point the avatar is currently looking at
/// (may not stay updated)</summary>
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);

View File

@@ -94,7 +94,7 @@ namespace libsecondlife
/// <summary></summary>
public float PathRevolutions = 0;
/// <summary></summary>
public LLQuaternion Rotation = LLQuaternion.Unit;
public LLQuaternion Rotation = LLQuaternion.Identity;
/// <summary></summary>
public uint State;
/// <summary></summary>

View File

@@ -735,6 +735,6 @@ namespace libsecondlife
/// <summary>
/// An LLQuaternion with a value of <0,0,0,1>
/// </summary>
public readonly static LLQuaternion Unit = new LLQuaternion();
public readonly static LLQuaternion Identity = new LLQuaternion();
}
}