OBJReader: avoid precision loss.
This commit is contained in:
@@ -287,8 +287,8 @@ read_vertices(std::istream& _in, BaseImporter& _bi, Options& _opt,
|
|||||||
std::vector<VertexHandle> & vertexHandles,
|
std::vector<VertexHandle> & vertexHandles,
|
||||||
Options & fileOptions)
|
Options & fileOptions)
|
||||||
{
|
{
|
||||||
float x, y, z, u, v, w;
|
double x, y, z, u, v, w;
|
||||||
float r, g, b;
|
double r, g, b;
|
||||||
|
|
||||||
std::string line;
|
std::string line;
|
||||||
std::string keyWrd;
|
std::string keyWrd;
|
||||||
|
|||||||
Reference in New Issue
Block a user