OBJReader: avoid precision loss.

This commit is contained in:
Martin Heistermann
2024-05-06 10:34:10 +02:00
parent a305f82bee
commit 6e9c776acf

View File

@@ -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;