예제 #1
0
 /// <summary>Read an array of <c>Vector3nus</c> values.</summary>
 public static Vector3nus[] ReadArrayVector3nus(this BinaryReader reader, int count)
 {
     Vector3nus[] array = new Vector3nus[count]; reader.ReadArray(array, 0, count); return array;
 }
예제 #2
0
 /// <summary>Read a <see cref="Vector3nus"/>.</summary>
 public static void ReadVector3nus(this BinaryReader reader , out Vector3nus result)
 {
     result.X = reader.ReadNormalizedUInt16();
                                 result.Y = reader.ReadNormalizedUInt16();
                                 result.Z = reader.ReadNormalizedUInt16();
             return;
 }