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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user