1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-11 14:56:00 +00:00

octagonal geometry and 10.0g

This commit is contained in:
Zeno Rogue
2017-10-27 20:07:58 +02:00
parent b9fe2b3ec9
commit 8a44a09de5
17 changed files with 179 additions and 106 deletions

View File

@@ -50,15 +50,15 @@ namespace netgen {
vec center[MAXCELLS];
double rot[MAXCELLS];
int glued[MAXCELLS];
int nei[MAXCELLS][7];
int nei[MAXCELLS][MAX_EDGE];
// auxiliary data
double raylen[MAXCELLS];
double edgist[MAXCELLS];
char patek[MAXCELLS][7];
char patek[MAXCELLS][MAX_EDGE];
// data generated by HyperRogue
hyperpoint hcenter[MAXCELLS][8];
hyperpoint hcenter[MAXCELLS][9];
// Functions handling the data.
//==============================
@@ -72,7 +72,7 @@ namespace netgen {
if(mode == 1)
for(int ii=0; ii<CELLS; ii++) if(dcal[ii] == c) {
hcenter[ii][7] = V * C0;
hcenter[ii][MAX_EDGE] = V * C0;
if(c->type == 7) {
for(int i=0; i<c->type; i++) {