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