14 #ifndef COORDINATESYSTEM_H 15 #define COORDINATESYSTEM_H 23 enum CoordinateSystem {
40 EXPCL_PANDA_LINMATH CoordinateSystem get_default_coordinate_system();
41 EXPCL_PANDA_LINMATH CoordinateSystem parse_coordinate_system_string(
const std::string &str);
42 EXPCL_PANDA_LINMATH std::string format_coordinate_system(CoordinateSystem cs);
43 EXPCL_PANDA_LINMATH
bool is_right_handed(CoordinateSystem cs = CS_default);
47 #define IS_LEFT_HANDED_COORDSYSTEM(cs) ((cs==CS_zup_left) || (cs==CS_yup_left)) 49 EXPCL_PANDA_LINMATH std::ostream &operator << (std::ostream &out, CoordinateSystem cs);
50 EXPCL_PANDA_LINMATH std::istream &operator >> (std::istream &in, CoordinateSystem &cs);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.