bullet3/examples/Importers/ImportURDFDemo/urdfLexicalCast.h

18 lines
224 B
C
Raw Normal View History

#ifndef BOOST_REPLACEMENT_LEXICAL_CAST_H
#define BOOST_REPLACEMENT_LEXICAL_CAST_H
#include <stdlib.h>
template <typename T> T urdfLexicalCast(const char* txt)
{
double result = atof(txt);
return result;
};
#endif