mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 21:30:09 +00:00
fix the issue of converting the double to single.
This commit is contained in:
parent
0b9c0cebfb
commit
b1444f34cf
@ -27,7 +27,7 @@ static bool parseVector4(btVector4& vec4, const std::string& vector_str)
|
||||
{
|
||||
vec4.setZero();
|
||||
btArray<std::string> pieces;
|
||||
btArray<float> rgba;
|
||||
btArray<double> rgba;
|
||||
btAlignedObjectArray<std::string> strArray;
|
||||
urdfIsAnyOf(" ", strArray);
|
||||
urdfStringSplit(pieces, vector_str, strArray);
|
||||
@ -50,7 +50,7 @@ static bool parseVector3(btVector3& vec3, const std::string& vector_str, ErrorLo
|
||||
{
|
||||
vec3.setZero();
|
||||
btArray<std::string> pieces;
|
||||
btArray<float> rgba;
|
||||
btArray<double> rgba;
|
||||
btAlignedObjectArray<std::string> strArray;
|
||||
urdfIsAnyOf(" ", strArray);
|
||||
urdfStringSplit(pieces, vector_str, strArray);
|
||||
|
Loading…
Reference in New Issue
Block a user