mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 22:00:05 +00:00
18 lines
224 B
C++
18 lines
224 B
C++
#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
|
|
|