Aggiunto ctrl transp su lower_body in base al piano

This commit is contained in:
2026-06-20 10:20:56 +02:00
parent fc5eba1279
commit e440779338
5 changed files with 19 additions and 6 deletions
+3 -1
View File
@@ -26,11 +26,12 @@ sf::Shape* Torso::draw(ReferencePlane plane){
switch (plane)
{
case ReferencePlane::XZ:
case ReferencePlane::XZ: case ReferencePlane::XZN:
{
sf::Shape* shape = shapeXZ;
shape->setRotation(sf::Angle(sf::radians(tmpRot[1])));
shape->setPosition({tmpPos[0]+globalPos[0],tmpPos[2]+globalPos[2]});
shape->setFillColor(color*sf::Color(255,255,255,transparency*255));
return shape;}
break;
@@ -39,6 +40,7 @@ sf::Shape* Torso::draw(ReferencePlane plane){
sf::Shape* shape = shapeYZ;
shape->setRotation(sf::Angle(sf::radians(tmpRot[0])));
shape->setPosition({tmpPos[1]+globalPos[1],tmpPos[2]+globalPos[2]});
shape->setFillColor(color*sf::Color(255,255,255,transparency*255));
return shape;}
break;