mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-03 17:04:52 +01:00
81097b6edf
The review: - editorScatter.cpp starts with stdafx.h, as the other editor sources the unit tests build do: without it the glm of the tests (GLM_FORCE_*) and its own were two definitions of the same templates, and the distance checks of test_scatter went wrong with GCC. - The uniform fill stops at dab_most (2000) models a dab, as the random and the feathered fills do, and the status says so. Its points are Spacing apart by the grid, so they're checked only against what the earlier dabs put near the circle, no longer against each other. - Undo and redo end a stroke still held: the models so far are the step taken back, and the next dabs don't go into another step of the history. New: the brush of many models "Along a line". LMB clicks the points of a line on the ground, Backspace takes the last one back, Esc drops the line, Enter puts the models along it, one step of the history. - The band reaches Width each side of the line (0: one row on the line). - Regular: rows Spacing apart along and across the line, every other row shifted by half, each model moved off its place by up to the Irregularity share of the spacing. Irregular: anywhere in the band, at the density asked for, the spacing kept, fewer towards the edges if asked. - The size of the models goes from their own on the line to Size at the edges (percent) at the edges of the band, on top of the turn and the scale of the brush. - Where the line bends, the rows on the inner side don't put two models on one place. - One line puts 20000 models at most. Polish for the new texts. Unit tests for the limit of the uniform fill and for the line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QRgQ1K1Qu7TCsa74zsNURd