[Proc Gen] HeightMap - Combination operations #194
Labels
No labels
Alpha Release Requirement
Bugfix
Demo Target
Documentation
Major Feature
Minor Feature
priority:tier1-active
priority:tier2-foundation
priority:tier3-future
priority:tier4-deferred
Refactoring & Cleanup
system:animation
system:documentation
system:grid
system:input
system:performance
system:procgen
system:python-binding
system:rendering
system:ui-hierarchy
Tiny Feature
workflow:blocked
workflow:needs-benchmark
workflow:needs-documentation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#193 [Proc Gen] HeightMap - Core class with scalar operations
john/McRogueFace
Reference
john/McRogueFace#194
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent Issue: #192
Overview
Add methods to combine two HeightMaps cell-by-cell.
Specification
All operations mutate in place and return
self. Both HeightMaps must have the same size.Implementation Notes
TCOD_heightmap_add,TCOD_heightmap_multiply,TCOD_heightmap_lerp,TCOD_heightmap_copysubtract,max,minare simple cell-by-cell loopsValueErrorif sizes don't matchAcceptance Criteria
ValueErrormultiplycan be used for masking (multiplying by 0/1 values)