static MCVT ProcessHeights(BinaryReader fileReader, uint mcvtOffset) { fileReader.BaseStream.Position = mcvtOffset; var heights = new MCVT(); var sig = fileReader.ReadUInt32(); var size = fileReader.ReadUInt32(); for (var i = 0; i < 145; i++) { heights.Heights[i] = fileReader.ReadSingle(); } return(heights); }
static MCVT ProcessHeights(BinaryReader fileReader, uint mcvtOffset) { fileReader.BaseStream.Position = mcvtOffset; var heights = new MCVT(); var sig = fileReader.ReadUInt32(); var size = fileReader.ReadUInt32(); for (var i = 0; i < 145; i++) { heights.Heights[i] = fileReader.ReadSingle(); } return heights; }