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