mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
25 lines
451 B
C++
25 lines
451 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];
|
|
int mask_index; // PMS
|
|
};
|
|
|
|
bool loadParticleInfo(ParticleInfo& info,
|
|
const std::string& particles,
|
|
const std::string& extra_info);
|
|
|
|
#endif
|