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

moved zpush from 3dmodels to hyperpoint

This commit is contained in:
Zeno Rogue
2019-07-23 15:06:03 +02:00
parent 856e1147a1
commit 946570da31
11 changed files with 158 additions and 13 deletions

View File

@@ -41,10 +41,6 @@ ld zc(ld z) {
return cgi.human_height * (z - 0.5);
}
transmatrix zpush(ld z) {
return cpush(2, z);
}
void geometry_information::add_cone(ld z0, const vector<hyperpoint>& vh, ld z1) {
last->flags |= POLY_TRIANGLES;
for(int i=0; i<isize(vh); i++) {