Preparazione per controllo accelerazione tangenziale
This commit is contained in:
@@ -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(){};
|
||||
};
|
||||
|
||||
@@ -15,6 +15,7 @@ class Gamba : public CollectionInterface {
|
||||
PieceInterface* getJointPiece();
|
||||
void setDirection(Direction dir);
|
||||
bool setTransparency(float alpha) override;
|
||||
void update() {};
|
||||
float getZ_Acc();
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -72,4 +72,8 @@ bool Lower_Body::setTransparency(float alpha){
|
||||
dx->setTransparency(alpha);
|
||||
t->setTransparency(alpha);
|
||||
return true;
|
||||
}
|
||||
|
||||
void Lower_Body::update(){
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user