mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
imlib/apriltag: Switch to libm's sin/cos.
This commit is contained in:
parent
d4a456edff
commit
7259a33411
@ -73,8 +73,6 @@ either expressed or implied, of the Regents of The University of Michigan.
|
||||
#define log2(x) fast_log2(x)
|
||||
#undef log2f
|
||||
#define log2f(x) fast_log2(x)
|
||||
#define sin(x) arm_sin_f32(x)
|
||||
#define cos(x) arm_cos_f32(x)
|
||||
#define fmin(a, b) ({ __typeof__ (a) _a = (a); __typeof__ (b) _b = (b); _a < _b ? _a : _b; })
|
||||
#define fminf(a, b) ({ __typeof__ (a) _a = (a); __typeof__ (b) _b = (b); _a < _b ? _a : _b; })
|
||||
#define fmax(a, b) ({ __typeof__ (a) _a = (a); __typeof__ (b) _b = (b); _a > _b ? _a : _b; })
|
||||
|
||||
Loading…
Reference in New Issue
Block a user