1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-22 09:27:40 +00:00

refactored texture mapping -- can change the texture precision when already active now

This commit is contained in:
Zeno Rogue
2018-02-01 13:45:08 +01:00
parent 0dc6f9eead
commit 8ce3e6f703
2 changed files with 24 additions and 12 deletions

View File

@@ -2014,6 +2014,7 @@ typedef float GLfloat;
struct textureinfo {
transmatrix M;
int texture_id;
vector<array<hyperpoint, 3>> triangles;
vector<GLfloat> vertices;
vector<GLfloat> tvertices;
cell *c;