mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 09:03:52 +00:00
feat(editor): object scatter, camera bookmarks, shortcut hints
- Object scatter tool: place N copies of selected M2/WMO in a radius with random rotation and scale range (Min/Max Scale slider) - Camera bookmarks: F5 saves current position, View > Load Bookmark to jump back — useful for working on different parts of a large zone - Shortcut hints shown at bottom of Object panel (G=move, R=rotate, T=scale, Del=remove) - DragFloatRange2 for min/max scale in scatter UI
This commit is contained in:
parent
48026421c9
commit
5daa359e74
5 changed files with 90 additions and 0 deletions
|
|
@ -61,6 +61,10 @@ public:
|
|||
bool canUndoPlace() const { return !undoStack_.empty(); }
|
||||
void undoLastPlace();
|
||||
|
||||
// Scatter: place multiple copies with random offset/rotation
|
||||
void scatter(const glm::vec3& center, float radius, int count,
|
||||
float minScale, float maxScale);
|
||||
|
||||
private:
|
||||
uint32_t nextUniqueId();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue