mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 22:12:59 +00:00 
			
		
		
		
	fixed Goldberg construction
This commit is contained in:
		| @@ -529,11 +529,13 @@ EX namespace gp { | ||||
|     } | ||||
|    | ||||
|   transmatrix dir_matrix(int i) { | ||||
|     cell cc; cc.type = S7; | ||||
|     auto ddspin = [] (int d) -> transmatrix {  | ||||
|       return spin(M_PI - d * 2 * M_PI / S7 - cgi.hexshift); | ||||
|       }; | ||||
|     return spin(-cgi.gpdata->alpha) * build_matrix( | ||||
|       C0,  | ||||
|       ddspin(&cc, i) * xpush0(cgi.tessf), | ||||
|       ddspin(&cc, i+1) * xpush0(cgi.tessf), | ||||
|       ddspin(i) * xpush0(cgi.tessf), | ||||
|       ddspin(i+1) * xpush0(cgi.tessf), | ||||
|       C03 | ||||
|       ); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue