Program Listing for File axis-label.hpp
↰ Return to documentation for file (include/pinocchio/utils/axis-label.hpp
)
//
// Copyright (c) 2018 CNRS
//
#ifndef __pinocchio_axis_label_hpp__
#define __pinocchio_axis_label_hpp__
namespace pinocchio
{
template<int axis> inline char axisLabel();
template<> inline char axisLabel<0>() { return 'X'; }
template<> inline char axisLabel<1>() { return 'Y'; }
template<> inline char axisLabel<2>() { return 'Z'; }
}
#endif // __pinocchio_axis_label_hpp__