Example #1
0
 /// <summary>Read an array of <c>Vector4h</c> values.</summary>
 public static Vector4h[] ReadArrayVector4h(this BinaryReader reader, int count)
 {
     Vector4h[] array = new Vector4h[count]; reader.ReadArray(array, 0, count); return array;
 }
Example #2
0
 /// <summary>Read a <see cref="Vector4h"/>.</summary>
 public static void ReadVector4h(this BinaryReader reader , out Vector4h result)
 {
     result.X = reader.ReadFloat16();
                                 result.Y = reader.ReadFloat16();
                                 result.Z = reader.ReadFloat16();
                                 result.W = reader.ReadFloat16();
             return;
 }