Aggiunta viusalizzazione collection su sfml_util

This commit is contained in:
2026-06-19 11:33:47 +02:00
parent 23798ab582
commit 0d4b6d1242
8 changed files with 75 additions and 17 deletions
@@ -24,9 +24,16 @@ inline collection operator+(collection c1, collection c2){
for (PieceInterface* i : c1.pieces){
res.pieces.push_back(i);
}
for (PieceInterface* i : c2.pieces){
res.pieces.push_back(i);
}
for (JointInterface* i : c1.joints){
res.joints.push_back(i);
}
for (JointInterface* i : c2.joints){
res.joints.push_back(i);
}
return res;
}