Write raw r16 heightmap back again.

This commit is contained in:
lzwdgc 2020-09-16 14:19:34 +03:00
parent 56d04cd59c
commit b5013c3fc6

View file

@ -395,7 +395,7 @@ void mmp::writeHeightMap()
cv::imwrite((const char *)to_path_string(path(filename) += ".heightmap16.png").c_str(), toCvMat(heightmap));
//write_hm(".heightmap16.r16", heightmap, sizeof(decltype(heightmap)::type));
write_hm(".heightmap16.r16", heightmap, sizeof(decltype(heightmap)::type));
write_hm(".heightmap32.r32", heightmap32, sizeof(decltype(heightmap32)::type));
}