Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95025406
pendule.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Dec 12, 06:23
Size
763 B
Mime Type
text/x-c++
Expires
Sat, Dec 14, 06:23 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22915749
Attached To
rSYMKIT symkit
pendule.h
View Options
#ifndef PENDULE_H
#define PENDULE_H
#include "actors/particles/oscillatorparticle.h"
#include "pendules/pendules.h"
#include "specs/evolvable.h"
namespace models
{
class GLSphere;
}
class Pendule : public OscillatorParticle, public Evolvable
{
public:
/* Constructor and destructor */
Pendule(models::GLSphere *);
~Pendule();
/* initialize function */
virtual void initialize() override;
/* set color */
virtual void evolve(float dt) override;
SPECS_EVOLVE
/* draw/render function */
virtual void render(symkit::render_s&) override;
private:
PenduleS * pendule;
static const Vector p;
static const Vector p_prime;
static const double l;
static const double m;
};
#endif // PENDULE_H
Event Timeline
Log In to Comment