Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99797633
particle.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
Sun, Jan 26, 16:44
Size
398 B
Mime Type
text/x-c
Expires
Tue, Jan 28, 16:44 (2 d)
Engine
blob
Format
Raw Data
Handle
23814957
Attached To
rSYMKIT symkit
particle.h
View Options
#ifndef __PARTICLE_H__
#define __PARTICLE_H__
#include "vect3d.h"
struct
Particle
{
Vector
position
;
Vector
speed
;
double
mass
;
Vector
forces
;
Particle
(
double
mass
,
const
Vector
&
position
=
nullv
,
const
Vector
&
speed
=
nullv
);
Particle
(
const
Particle
&
particle
);
~
Particle
();
void
update
(
const
float
&
dt
);
};
#endif
Event Timeline
Log In to Comment