bgc-c/basic-geometry/utilities.c

15 lines
630 B
C

#include "utilities.h"
extern inline int bgc_is_correct_axis(const int axis);
extern inline int bgc_fp32_is_zero(const float square_value);
extern inline int bgc_fp64_is_zero(const double square_value);
extern inline int bgc_fp32_is_unit(const float square_value);
extern inline int bgc_fp64_is_unit(const double square_value);
extern inline int bgc_fp32_is_square_unit(const float square_value);
extern inline int bgc_fp64_is_square_unit(const double square_value);
extern inline int bgc_fp32_are_close(const float value1, const float value2);
extern inline int bgc_fp64_are_close(const double value1, const double value2);