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,
|
||||
Options & fileOptions)
|
||||
{
|
||||
float x, y, z, u, v, w;
|
||||
float r, g, b;
|
||||
double x, y, z, u, v, w;
|
||||
double r, g, b;
|
||||
|
||||
std::string line;
|
||||
std::string keyWrd;
|
||||
|
||||
Reference in New Issue
Block a user