Also add a way to dynamically change the precision (needed for some test that don't use non full precision result matrix)
17 lines
323 B
C
17 lines
323 B
C
/*
|
|
* DoRayMe - a quick and dirty Raytracer
|
|
* Math helping function header
|
|
*
|
|
* Created by Manoël Trapier
|
|
* Copyright (c) 2020 986-Studio.
|
|
*
|
|
*/
|
|
|
|
#ifndef DORAYME_MATH_HELPER_H
|
|
#define DORAYME_MATH_HELPER_H
|
|
|
|
void set_equal_precision(double v);
|
|
bool double_equal(double a, double b);
|
|
|
|
#endif //DORAYME_MATH_HELPER_H
|