///<summary>
 /// Writes this Vector3FloatStruct to the specified stream.
 ///</summary>
 ///<param name="writer"> the output stream to write to</param>
 ///<param name="obj"> the object to serialize</param>
 ///<exception cref="IOException"> if an error occurs</exception>
 public static void Serialize(HlaEncodingWriter writer, Vector3FloatStruct obj)
 {
     writer.WriteHLAfloat32BE(obj.XComponent);
     writer.WriteHLAfloat32BE(obj.YComponent);
     writer.WriteHLAfloat32BE(obj.ZComponent);
 }
 ///<summary>
 /// Writes this Vector3FloatStruct to the specified stream.
 ///</summary>
 ///<param name="writer"> the output stream to write to</param>
 ///<param name="obj"> the object to serialize</param>
 ///<exception cref="IOException"> if an error occurs</exception>
 public static void Serialize(HlaEncodingWriter writer, Vector3 obj)
 {
     writer.WriteHLAfloat32BE(obj.x);
     writer.WriteHLAfloat32BE(obj.y);
     writer.WriteHLAfloat32BE(obj.z);
 }