Cambio sistema per rotazione bacino (non funziona)

This commit is contained in:
2026-06-21 11:58:12 +02:00
parent 7fee7b1e13
commit e1965aaf1e
11 changed files with 68 additions and 15 deletions
+8 -1
View File
@@ -12,6 +12,13 @@ struct gamba_data{
class Lower_Body : public CollectionInterface{
private:
int64_t prevT = 0;
float velD = 0;
float velS = 0;
float posS = 0;
float posD = 0;
protected:
Gamba* sx;
Gamba* dx;
@@ -26,7 +33,7 @@ protected:
public:
Lower_Body(rb::Vector3 pos, std::vector<gamba_data> data);
~Lower_Body();
void update() override;
void update(sf::Clock cl) override;
void setVisibility(bool c);
bool setTransparency(float alpha) override;
collection create(ReferencePlane plane) override;