mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	improved display in Halloween
This commit is contained in:
		| @@ -1,5 +1,11 @@ | ||||
| double randd() { return (rand() % 1000000) / 1000000. + .0000005; } | ||||
|  | ||||
| transmatrix cellrelmatrix(cell *c, int i) { | ||||
|   double d = | ||||
|     purehepta ? tessf : c->type == 6 ? hexhexdist : crossf; | ||||
|   return ddspin(c, i) * xpush(d) * iddspin(c->mov[i], c->spin(i), euclid ? 0 : S42); | ||||
|   } | ||||
|  | ||||
| hyperpoint randomPointIn(int t) { | ||||
|   while(true) { | ||||
|     hyperpoint h = spin(2*M_PI*(randd()-.5)/t) * tC0(xpush(asinh(randd()))); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue