Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F94226763
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, 22:19
Size
763 B
Mime Type
text/x-c++
Expires
Fri, Dec 6, 22:19 (1 d, 17 h)
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