31 #ifndef CERES_EXAMPLES_POSE_GRAPH_2D_NORMALIZE_ANGLE_H_ 32 #define CERES_EXAMPLES_POSE_GRAPH_2D_NORMALIZE_ANGLE_H_ 36 #include "ceres/ceres.h" 40 #if not(CERES_VERSION_MAJOR > 1 || (CERES_VERSION_MAJOR == 1 && CERES_VERSION_MINOR >= 12)) 47 template <
typename T,
int N>
inline 48 Jet<T, N>
floor(
const Jet<T, N>& f) {
49 return Jet<T, N>(
floor(f.a));
60 return angle_radians -
67 #endif // CERES_EXAMPLES_POSE_GRAPH_2D_NORMALIZE_ANGLE_H_
T NormalizeAngle(const T &angle_radians)
GLM_FUNC_DECL genType floor(genType const &x)