mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add heightmap:sub(...) operation
This commit is contained in:
parent
8961c24b60
commit
7330896eb4
1 changed files with 1 additions and 0 deletions
|
|
@ -256,6 +256,7 @@ static std::unordered_map<std::string, lua_CFunction> methods {
|
|||
{"cellnoise", lua::wrap<l_noise<FNL_NOISE_CELLULAR>>},
|
||||
{"pow", lua::wrap<l_binop_func<util::pow>>},
|
||||
{"add", lua::wrap<l_binop_func<std::plus>>},
|
||||
{"sub", lua::wrap<l_binop_func<std::minus>>},
|
||||
{"mul", lua::wrap<l_binop_func<std::multiplies>>},
|
||||
{"min", lua::wrap<l_binop_func<util::min>>},
|
||||
{"max", lua::wrap<l_binop_func<util::max>>},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue