コード例 #1
0
ファイル: BSPParser.cs プロジェクト: txdv/hltools
 public static Edge BReadEdge(this BinaryReader br)
 {
     return new Edge(br.BReadUInt16(), br.BReadUInt16());
 }
コード例 #2
0
ファイル: BSPParser.cs プロジェクト: txdv/hltools
 public static Face BReadFace(this BinaryReader br)
 {
     return new Face(br.BReadUInt16(), br.BReadUInt16(), br.BReadUInt32(), br.BReadUInt16(),
                     br.BReadUInt16(), br.ReadByte(), br.ReadByte(), br.ReadByte(), br.ReadByte(),
                     br.ReadInt32());
 }
コード例 #3
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());
 }