Migliore precisione per debug

This commit is contained in:
2026-05-31 12:34:59 +02:00
parent 8be8a2db00
commit 57412060b5
6 changed files with 1282 additions and 589 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ void PivotJoint::rotate(unsigned int id){
childs[id]->body.setPos(rb::Vector3{fPos[0]+offset[id][0]+pivot[0],fPos[1]+offset[id][1]+pivot[1],fPos[2]+offset[id][2]+pivot[2]});
//printf("Offset = %f %f %f \n" , offN[0], offN[1], offN[2]);
printf("Offset = %f %f %f \n" , offN[0], offN[1], offN[2]);
oldRot = fRot; //aggiorno la rotazione per il ciclo successivo
oldCRot[id] = cRot;