* Added code to capture the draw distance setting from the client.

* Added a support function to InnerScene to calculate the distance between two vectors.
This commit is contained in:
Teravus Ovares
2007-11-22 01:32:13 +00:00
parent e5a0049c16
commit e69c810486
5 changed files with 114 additions and 14 deletions

View File

@@ -364,7 +364,10 @@ namespace SimpleApp
if (OnAgentUpdate != null)
{
OnAgentUpdate(this, movementFlag, bodyDirection);
AgentUpdatePacket pack = new AgentUpdatePacket();
pack.AgentData.ControlFlags = movementFlag;
pack.AgentData.BodyRotation = bodyDirection;
OnAgentUpdate(this, pack);
}
if (flyState == 0)
{