Flip u and v texture coordinates

This commit is contained in:
Malin E
2024-03-08 17:18:18 +01:00
parent 491206e61c
commit e046f71566

View File

@@ -826,8 +826,8 @@ void RenderableTube::readDataFile() {
auto pv = pt->find("v");
if (pu != pt->end() && pv != pt->end()) {
float u, v;
pt->at("u").get_to(u);
pt->at("v").get_to(v);
pt->at("u").get_to(v);
pt->at("v").get_to(u);
timePolygonPoint.tex = glm::vec2(u, v);
}
else if (_hasInterpolationTextures) {