Panda3D
Macros | Enumerations | Functions
coordinateSystem.h File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "pandabase.h"
#include "typedef.h"

Go to the source code of this file.

Macros

#define IS_LEFT_HANDED_COORDSYSTEM(cs)   ((cs==CS_zup_left) || (cs==CS_yup_left))
 

Enumerations

enum  CoordinateSystem {
  CS_default, CS_zup_right, CS_yup_right, CS_zup_left,
  CS_yup_left, CS_invalid
}
 

Functions

EXPCL_PANDA_LINMATH std::string format_coordinate_system (CoordinateSystem cs)
 
EXPCL_PANDA_LINMATH CoordinateSystem get_default_coordinate_system ()
 
EXPCL_PANDA_LINMATH bool is_right_handed (CoordinateSystem cs=CS_default)
 
EXPCL_PANDA_LINMATH std::istream & operator >> (std::istream &in, CoordinateSystem &cs)
 
EXPCL_PANDA_LINMATH std::ostream & operator<< (std::ostream &out, CoordinateSystem cs)
 
EXPCL_PANDA_LINMATH CoordinateSystem parse_coordinate_system_string (const std::string &str)
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
1999-09-24

Definition in file coordinateSystem.h.