示例#1
0
 /// <summary>
 /// Reads object data from given BinaryReader.
 /// </summary>
 public void Read(BinaryReader br)
 {
     Signature = br.ReadUInt32();
     if (Signature != HMFSignature)
         throw new FileLoadException("Bad signature");
     Mesh = new HeightMap(br);
 }
示例#2
0
 public HMF(HeightMap hm)
 {
     Mesh = hm;
 }