public void ReadFromFile(BinaryReader reader)
            {
                materialIndex = reader.ReadUInt16();

                ushort num = reader.ReadUInt16();

                data = new FacesBurst[num];

                for (int i = 0; i != num; i++)
                {
                    data[i] = new FacesBurst(reader);
                }
            }
Example #2
0
            public void ReadFromFile(MemoryStream reader, bool isBigEndian)
            {
                materialIndex = reader.ReadUInt16(isBigEndian);

                ushort num = reader.ReadUInt16(isBigEndian);

                data = new FacesBurst[num];

                for (int i = 0; i != num; i++)
                {
                    data[i] = new FacesBurst(reader, isBigEndian);
                }
            }
Example #3
0
 public FacesBurst(FacesBurst other)
 {
     startIndex = other.startIndex;
     numFaces   = other.numFaces;
 }