mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-14 17:33:25 +00:00
Write raw r16 heightmap back again.
This commit is contained in:
parent
56d04cd59c
commit
b5013c3fc6
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue