2012-07-24 08:58:39 -05:00
|
|
|
|
|
|
|
|
|
|
|
#ifndef The_Powder_Toy_Sample_h
|
|
|
|
#define The_Powder_Toy_Sample_h
|
|
|
|
|
|
|
|
#include "Particle.h"
|
|
|
|
|
|
|
|
class SimulationSample
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Particle particle;
|
2012-08-09 15:28:43 -05:00
|
|
|
int ParticleID;
|
|
|
|
int PositionX, PositionY;
|
2012-07-24 08:58:39 -05:00
|
|
|
float AirPressure;
|
|
|
|
float AirTemperature;
|
|
|
|
float AirVelocityX;
|
|
|
|
float AirVelocityY;
|
|
|
|
|
|
|
|
int WallType;
|
|
|
|
float Gravity;
|
|
|
|
float GravityVelocityX;
|
|
|
|
float GravityVelocityY;
|
|
|
|
|
2012-10-04 11:35:11 -05:00
|
|
|
int NumParts;
|
|
|
|
|
|
|
|
SimulationSample() : PositionX(0), PositionY(0), ParticleID(0), particle(), AirPressure(0), AirVelocityX(0), AirVelocityY(0), WallType(0), Gravity(0), GravityVelocityX(0), GravityVelocityY(0), AirTemperature(0), NumParts(0) {}
|
2012-07-24 08:58:39 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|