Preparazione per controllo accelerazione tangenziale

This commit is contained in:
2026-06-20 17:40:06 +02:00
parent 51c620ef4d
commit ef2e09ef0f
7 changed files with 16 additions and 2 deletions
@@ -13,6 +13,7 @@ struct collection{
class CollectionInterface{
public:
virtual collection create(ReferencePlane plane) = 0;
virtual void update() = 0;
virtual bool setTransparency(float alpha) = 0;
virtual ~CollectionInterface(){};
};
+1
View File
@@ -15,6 +15,7 @@ class Gamba : public CollectionInterface {
PieceInterface* getJointPiece();
void setDirection(Direction dir);
bool setTransparency(float alpha) override;
void update() {};
float getZ_Acc();
};
+1 -1
View File
@@ -26,7 +26,7 @@ protected:
public:
Lower_Body(rb::Vector3 pos, std::vector<gamba_data> data);
~Lower_Body();
void update() override;
void setVisibility(bool c);
bool setTransparency(float alpha) override;
collection create(ReferencePlane plane) override;
+4
View File
@@ -72,4 +72,8 @@ bool Lower_Body::setTransparency(float alpha){
dx->setTransparency(alpha);
t->setTransparency(alpha);
return true;
}
void Lower_Body::update(){
}