Esempio n. 1
0
 /// <summary>Read an array of <c>Vector2nus</c> values.</summary>
 public static Vector2nus[] ReadArrayVector2nus(this BinaryReader reader, int count)
 {
     Vector2nus[] array = new Vector2nus[count]; reader.ReadArray(array, 0, count); return array;
 }
Esempio n. 2
0
 /// <summary>Read a <see cref="Vector2nus"/>.</summary>
 public static void ReadVector2nus(this BinaryReader reader , out Vector2nus result)
 {
     result.X = reader.ReadNormalizedUInt16();
                                 result.Y = reader.ReadNormalizedUInt16();
             return;
 }