Пример #1
0
 /// <summary>
 /// Reads <see cref="Bounding"/> instances from the current stream and returns them.
 /// </summary>
 /// <param name="self">The extended <see cref="BinaryDataReader"/>.</param>
 /// <param name="count">The number of instances to read.</param>
 /// <returns>The <see cref="Bounding"/> instances.</returns>
 public static IList <Bounding> ReadBoundings(this BinaryDataReader self, int count)
 {
     Bounding[] values = new Bounding[count];
     for (int i = 0; i < count; i++)
     {
         values[i] = self.ReadBounding();
     }
     return(values);
 }