vide_public/mytools/particleInfo.hpp
2011-02-24 16:26:41 -05:00

24 lines
424 B
C++

#ifndef _PARTICLE_INFO_HEADER_HPP
#define _PARTICLE_INFO_HEADER_HPP
#include <vector>
#include <string>
struct ParticleData {
float x, y, z;
};
typedef std::vector<ParticleData> ParticleVector;
struct ParticleInfo
{
ParticleVector particles;
float ranges[3][2];
float length[3];
};
bool loadParticleInfo(ParticleInfo& info,
const std::string& particles,
const std::string& extra_info);
#endif