cloudy-raytracer/common/common.h

19 lines
210 B
C
Raw Normal View History

2022-11-05 22:08:16 +01: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