mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 00:53:52 +00:00
feat(editor): terrain mirror X/Y for symmetric zone design
- Mirror X: copies left half of terrain to right half (mirrored) - Mirror Y: copies top half to bottom half (mirrored) - Useful for creating symmetric zones, arenas, or balanced landscapes - Auto-stitches all chunk edges after mirror for seamless results - UI buttons in Sculpt panel under "Mirror Terrain" section
This commit is contained in:
parent
ac88aed250
commit
dd2b9294b5
3 changed files with 61 additions and 0 deletions
|
|
@ -68,6 +68,10 @@ public:
|
|||
void pasteStamp(const glm::vec3& center);
|
||||
bool hasStamp() const { return !stampData_.empty(); }
|
||||
|
||||
// Mirror terrain along X or Y axis through tile center
|
||||
void mirrorX();
|
||||
void mirrorY();
|
||||
|
||||
// Import/export heightmap (raw 16-bit grayscale, 129x129)
|
||||
bool importHeightmap(const std::string& path, float heightScale);
|
||||
bool exportHeightmap(const std::string& path, float heightScale);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue