Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120140558
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
Wed, Jul 2, 05:28
Size
398 B
Mime Type
text/x-c
Expires
Fri, Jul 4, 05:28 (2 d)
Engine
blob
Format
Raw Data
Handle
27136178
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