Files
csendlinger b57f6ff201 Basic neccessities to draw from a density field;
does not yet work correctly since the neccessary
density field is reset after a time resolution
step
2024-08-08 10:10:50 +02:00

11 lines
201 B
C++
Executable File

#ifndef COMPARE_H
#define COMPARE_H
#include "constants/sim_constants.h"
inline bool isEqual(double a, double b) {
return std::abs(a - b) < SimConstants::compare_epsilon;
}
#endif /* COMPARE_H */