cloudy-raytracer/common/common.h

19 lines
210 B
C
Raw Normal View History

2022-10-28 09:31:13 +02:00
#ifndef COMMON_H
#define COMMON_H
#include <cmath>
#ifndef EPSILON
#define EPSILON 1E-4f
#endif
#ifndef INFINITY
#define INFINITY HUGE_VAL
#endif
#ifndef PI
#define PI 3.1415926535897932384f
#endif
#endif