Example #1
0
 public static BSPNode BReadBSPNode(this BinaryReader br)
 {
     return new BSPNode(br.BReadInt32(), br.ReadUInt16(), br.ReadUInt16(),
                        br.BReadBoundBoxShort(), br.ReadUInt16(), br.ReadUInt16());
 }
Example #2
0
 public static BSPLeaf BReadBSPLeaf(this BinaryReader br)
 {
     return new BSPLeaf(br.ReadInt32(), br.ReadInt32(), br.BReadBoundBoxShort(), br.BReadUInt16(),
                        br.BReadUInt16(), br.ReadByte(), br.ReadByte(), br.ReadByte(), br.ReadByte());
 }