Searched refs:zgmod (Results 1 – 5 of 5) sorted by relevance
/dports/games/hyperrogue/hyperrogue-12.0f/ |
H A D | asonov.cpp | 37 …coord(int x, int y, int z) : array<int,3>(make_array(zgmod(x, period_xy), zgmod(y, period_xy), zgm… in coord() 153 c[0] = zgmod(c[0]-b[0], period_xy); b[0] = 0; in operator -() 154 c[1] = zgmod(c[1]-b[1], period_xy); b[1] = 0; in operator -()
|
H A D | util.cpp | 44 EX int zgmod(int a, int b) { return b ? gmod(a, b) : a; } in zgmod() function
|
H A D | nonisotropic.cpp | 938 for(int a=0; a<3; a++) q[a] = zgmod(q[a], nilperiod[a]); in create_step() 977 if(zgmod(at[2] - z, nilperiod[2]) == 0) res = which; in colorize() 978 if(zgmod(at[2] - z-1, nilperiod[2]) == 0) res = which; in colorize() 1280 h = zgmod(h, csteps); in getCell()
|
H A D | pattern2.cpp | 186 return abs(szgmod(x, 5)) + abs(zgmod(y, 5)); in cdist50()
|
/dports/games/hyperrogue/hyperrogue-12.0f/rogueviz/ |
H A D | notknot.cpp | 292 x = zgmod(x, nilv::nilperiod[0]); in create_nil_knot() 293 y = zgmod(y, nilv::nilperiod[1]); in create_nil_knot() 294 z = zgmod(z, nilv::nilperiod[2]); in create_nil_knot()
|