Aggiunte e modifiche per lower_body

This commit is contained in:
2026-06-18 18:01:09 +02:00
parent 9189246361
commit 842f384bb8
8 changed files with 56 additions and 11 deletions
+15 -8
View File
@@ -4,23 +4,30 @@
#define LOWER_BODY_H
struct gamba_data{
rb::Vector3 pos;
unsigned int* dataPos;
std::string cosciaData;
std::string cavigliaData;
};
class lower_body
{
class Lower_Body : CollectionInterface{
protected:
Gamba sx;
Gamba dx;
Torso t;
Gamba* sx;
Gamba* dx;
Torso* t;
PivotJoint* jsx;
PivotJoint* jdx;
bool visible = true;
float alpha = 1;
public:
lower_body(std::vector<gamba_data> data);
~lower_body();
Lower_Body(std::vector<gamba_data> data);
~Lower_Body();
void setVisibility(bool c);
collection create(ReferencePlane plane) override;
};