Searched refs:PRECX (Results 1 – 4 of 4) sorted by relevance
/dports/games/hyperrogue/hyperrogue-12.0f/devmods/ |
H A D | solv-table.cpp | 153 fint(f, tab.PRECX); in write_table() 161 tab.PRECX = X; in alloc_table() 172 int PRECX = tab.PRECX; in fix_boundaries() local 188 for(int x=last_x; x<PRECX; x++) in fix_boundaries() 198 alloc_table(tab, PRECX, PRECY, PRECZ); in build_sols() 204 ld x = ix_to_x(ix / (PRECX-1.)); in build_sols() 447 for(int ix=0; ix<tab.PRECX; ix++) { in fix_bugs() 455 renderbuffer rb(tab.PRECX, tab.PRECY, false); in visualize_table() 461 for(int ix=0; ix<tab.PRECX; ix++) { in visualize_table() 475 int PRECX = tab.PRECX; in improve() local [all …]
|
H A D | solv-error-analyze.cpp | 286 for(int x=0; x<s.PRECX-1; x++) in sol_diffeq_graph() 290 auto ax = sn::ix_to_x(x / (s.PRECX-1.)); in sol_diffeq_graph() 397 println(hlog, "xy_", a, " : ", sn::ix_to_x(a / (s.PRECX-1.))); in sol_table_test() 405 for(ld x=0; x<s.PRECX-4; x+=.25) in sol_table_test() 409 int xp = x * 4 / s.PRECX; in sol_table_test() 420 auto ax = sn::ix_to_x(x1 / (s.PRECX-1.)); in sol_table_test() 432 bool bad_region = x > s.PRECX/2 && y > s.PRECY/2 && z < s.PRECZ/2; in sol_table_test() 436 auto ax = sn::ix_to_x(x / (s.PRECX-1.)); in sol_table_test()
|
/dports/games/hyperrogue/hyperrogue-12.0f/ |
H A D | nonisotropic.cpp | 67 int PRECX, PRECY, PRECZ; member 75 compressed_point& get_int(int ix, int iy, int iz) { return tab[(iz*PRECY+iy)*PRECX+ix]; } in get_int() 91 ignore(fread(&PRECX, 4, 1, f)); in load() 94 tab.resize(PRECX * PRECY * PRECZ); in load() 95 ignore(fread(&tab[0], sizeof(compressed_point) * PRECX * PRECY * PRECZ, 1, f)); in load() 101 ix *= PRECX-1; in get() 113 if(ix >= PRECX-1) ix = PRECX-2; in get() 114 if(iy >= PRECX-1) iy = PRECX-2; in get() 154 auto xbuffer = new glvertex[PRECZ*PRECY*PRECX]; in get_texture_id() 156 for(int z=0; z<PRECZ*PRECY*PRECX; z++) { in get_texture_id() [all …]
|
H A D | shaders.cpp | 520 glhr::set_solv_prec(tab.PRECX, tab.PRECY, tab.PRECZ); in set_projection()
|