Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F94229534
ressor.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:55
Size
817 B
Mime Type
text/x-c++
Expires
Fri, Dec 6, 22:55 (1 d, 17 h)
Engine
blob
Format
Raw Data
Handle
22764325
Attached To
rSYMKIT symkit
ressor.h
View Options
#ifndef RESSORT_H
#define RESSORT_H
class
Ressort
;
#include "actors/particles/oscillatorparticle.h"
#include "vector.h"
#include "specs/evolvable.h"
namespace
models
{
class
GLSphere
;
}
class
Ressor
:
public
OscillatorParticle
,
public
Evolvable
{
public:
/* Constructor and Destructor */
Ressor
(
models
::
GLSphere
*
);
~
Ressor
();
SPECS_EVOLVE
/* set color */
virtual
void
evolve
(
float
)
override
;
/* draw/render function */
virtual
void
render
(
symkit
::
render_s
&
)
override
;
/* initialize function */
virtual
void
initialize
()
override
;
private:
Ressort
*
ressort
;
static
const
Vector
p
;
static
const
Vector
p_prime
;
static
const
Vector
axys
;
static
const
double
l
;
static
const
double
m
;
static
const
double
k
;
};
#endif
// RESSORT_H
Event Timeline
Log In to Comment