Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95107985
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
Thu, Dec 12, 22:28
Size
398 B
Mime Type
text/x-c
Expires
Sat, Dec 14, 22:28 (2 d)
Engine
blob
Format
Raw Data
Handle
22932168
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