mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-28 20:09:19 +01:00
Fix tree mesh face orientation.
This commit is contained in:
parent
ad642e3f16
commit
4f62ea4b8e
@ -291,8 +291,8 @@ void ProceduralTreeMesh::_update() const {
|
|||||||
|
|
||||||
int ind = i * 3;
|
int ind = i * 3;
|
||||||
|
|
||||||
iw[ind] = tface.x;
|
iw[ind] = tface.y;
|
||||||
iw[ind + 1] = tface.y;
|
iw[ind + 1] = tface.x;
|
||||||
iw[ind + 2] = tface.z;
|
iw[ind + 2] = tface.z;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -363,8 +363,8 @@ void ProceduralTreeMesh::_update() const {
|
|||||||
|
|
||||||
int ind = i * 3;
|
int ind = i * 3;
|
||||||
|
|
||||||
iw[ind] = tface.x;
|
iw[ind] = tface.y;
|
||||||
iw[ind + 1] = tface.y;
|
iw[ind + 1] = tface.x;
|
||||||
iw[ind + 2] = tface.z;
|
iw[ind + 2] = tface.z;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user