Sync heightmap API with libtcod/libtcod #175 convolution feature branch
Rename TCOD_heightmap_kernel_transform_hm -> TCOD_heightmap_kernel_transform_out Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
39a12028a0
commit
ff8e220ee0
2 changed files with 3 additions and 3 deletions
|
|
@ -1915,7 +1915,7 @@ PyObject* PyHeightMap::sparse_kernel_from(PyHeightMapObject* self, PyObject* arg
|
|||
if (kernel_size < 0) return nullptr;
|
||||
|
||||
// Apply the kernel transform
|
||||
TCOD_heightmap_kernel_transform_hm(source->heightmap, self->heightmap,
|
||||
TCOD_heightmap_kernel_transform_out(source->heightmap, self->heightmap,
|
||||
static_cast<int>(kernel_size),
|
||||
dx.data(), dy.data(), weight.data(),
|
||||
min_level, max_level);
|
||||
|
|
@ -1956,7 +1956,7 @@ PyObject* PyHeightMap::sparse_kernel(PyHeightMapObject* self, PyObject* args, Py
|
|||
}
|
||||
|
||||
// Apply the kernel transform
|
||||
TCOD_heightmap_kernel_transform_hm(self->heightmap, result->heightmap,
|
||||
TCOD_heightmap_kernel_transform_out(self->heightmap, result->heightmap,
|
||||
static_cast<int>(kernel_size),
|
||||
dx.data(), dy.data(), weight.data(),
|
||||
min_level, max_level);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue