aboutsummaryrefslogtreecommitdiff
path: root/visualization/extrasmeltutils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'visualization/extrasmeltutils.hpp')
-rw-r--r--visualization/extrasmeltutils.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/visualization/extrasmeltutils.hpp b/visualization/extrasmeltutils.hpp
index 08868a7..fe9bb73 100644
--- a/visualization/extrasmeltutils.hpp
+++ b/visualization/extrasmeltutils.hpp
@@ -42,7 +42,7 @@ class smXLinePSGenerator:public smPSEmissionPositionGenerator
smRandomEngine re;
double var;
public:
- smXLinePSGenerator(double _var){re.setSeed(time(NULL));var=_var;}
+ smXLinePSGenerator(double _var){re.setSeed(time(nullptr));var=_var;}
smvec3d genPos(){return smvec3d(re.nextDouble(-var,var),0,0);}
};
class smParticleSystemInfo