Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F94109781
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
Wed, Dec 4, 00:06
Size
763 B
Mime Type
text/x-c++
Expires
Fri, Dec 6, 00:06 (2 d)
Engine
blob
Format
Raw Data
Handle
22709282
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