Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100929616
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
Tue, Feb 4, 01:23
Size
398 B
Mime Type
text/x-c
Expires
Thu, Feb 6, 01:23 (2 d)
Engine
blob
Format
Raw Data
Handle
24058094
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