The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

aux/math: Port to u_logging.

authored by

Lubosz Sarnecki and committed by
Jakob Bornecrantz
55d6d573 ba1d966f

+4 -4
+2 -3
src/xrt/auxiliary/math/m_optics.c
··· 98 98 if (debug_get_bool_option_views()) { 99 99 const double rad_to_deg = M_1_PI * 180.0; 100 100 // comments are to force wrapping 101 - fprintf(stderr, 102 - "w=" METERS_FORMAT " theta=" DEG_FORMAT 101 + U_LOG_D("w=" METERS_FORMAT " theta=" DEG_FORMAT 103 102 " w1=" METERS_FORMAT " theta1=" DEG_FORMAT 104 103 " w2=" METERS_FORMAT " theta2=" DEG_FORMAT 105 - " d=" METERS_FORMAT "\n", 104 + " d=" METERS_FORMAT, 106 105 w_total, theta_total * rad_to_deg, // 107 106 w_1, (theta_total - theta_2) * rad_to_deg, // 108 107 w_2, theta_2 * rad_to_deg, //
+2 -1
src/xrt/auxiliary/math/m_permutation.c
··· 9 9 10 10 11 11 #include "util/u_misc.h" 12 + #include "util/u_logging.h" 12 13 13 14 #include "m_permutation.h" 14 15 ··· 142 143 143 144 m_permutator_reset(&mp); 144 145 145 - fprintf(stderr, "BLARG!\n"); 146 + U_LOG_D("BLARG!"); 146 147 } 147 148 148 149 #endif