1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-26 19:37:40 +00:00

3d:: draw:: model from triangles

This commit is contained in:
?
2019-02-28 19:02:01 +01:00
committed by Zeno Rogue
parent c46bedd23b
commit 699109ef2a
2 changed files with 75 additions and 13 deletions

View File

@@ -1910,6 +1910,7 @@ transmatrix shadowmulmatrix;
void pushShape(const usershapelayer& ds) {
if(ds.list.empty()) return;
if(DIM == 3) last->flags |= POLY_TRIANGLES;
transmatrix T = rgpushxto0(ds.shift) * rspintox(ds.spin);