17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-02 10:29:13 +01:00

refactor(editor): one declaration per statement (cpp:S1659) and no chained assignments (cpp:S1121) in the editor files of the branch; single statements under if/else/for that became two got braces

This commit is contained in:
maj00r
2026-10-11 22:28:35 +02:00
parent d2111afe19
commit f1a3bde00f
18 changed files with 320 additions and 132 deletions

View File

@@ -90,7 +90,10 @@ inline std::vector<segment_data> arc_pieces(glm::dvec3 const &Point, glm::dvec2
// path as a cubic Bezier curve; a path without control points is a straight with evenly spread parameter
struct bezier
{
glm::dvec3 p0, p1, p2, p3;
glm::dvec3 p0;
glm::dvec3 p1;
glm::dvec3 p2;
glm::dvec3 p3;
explicit bezier(segment_data const &Path)
{