示例#1
0
文件: BSPParser.cs 项目: txdv/hltools
 public static BSPNode BReadBSPNode(this BinaryReader br)
 {
     return new BSPNode(br.BReadInt32(), br.ReadUInt16(), br.ReadUInt16(),
                        br.BReadBoundBoxShort(), br.ReadUInt16(), br.ReadUInt16());
 }
示例#2
0
文件: BSPParser.cs 项目: txdv/hltools
 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());
 }