27 lines
580 B
C++
27 lines
580 B
C++
|
|
|
|
#ifndef The_Powder_Toy_Sample_h
|
|
#define The_Powder_Toy_Sample_h
|
|
|
|
#include "Particle.h"
|
|
|
|
class SimulationSample
|
|
{
|
|
public:
|
|
Particle particle;
|
|
int ParticleID;
|
|
int PositionX, PositionY;
|
|
float AirPressure;
|
|
float AirTemperature;
|
|
float AirVelocityX;
|
|
float AirVelocityY;
|
|
|
|
int WallType;
|
|
float Gravity;
|
|
float GravityVelocityX;
|
|
float GravityVelocityY;
|
|
|
|
SimulationSample() : PositionX(0), PositionY(0), ParticleID(0), particle(), AirPressure(0), AirVelocityX(0), AirVelocityY(0), WallType(0), Gravity(0), GravityVelocityX(0), GravityVelocityY(0), AirTemperature(0) {}
|
|
};
|
|
|
|
#endif |