protected void ReadBone( BinaryReader reader )
{
// bone name
string name = ReadString( reader );
ushort handle = ReadUShort( reader );
// create a new bone
Bone bone = skeleton.CreateBone( name, handle );
// read and set the position of the bone
Vector3 position = ReadVector3( reader );
bone.Position = position;
// read and set the orientation of the bone
Quaternion q = ReadQuat( reader );
bone.Orientation = q;
}