mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	fixed the orientation of two-point azimuthal and two-point hybrid
This commit is contained in:
		| @@ -884,8 +884,10 @@ EX void apply_other_model(shiftpoint H_orig, hyperpoint& ret, eModel md) { | ||||
|       ret[1] = (ret[0] + pconf.twopoint_param) * lyx; | ||||
|       ret[2] = 0; | ||||
|  | ||||
|       ret[0] = -ret[0]; ret[1] = -ret[1]; | ||||
|  | ||||
|       move_y_to_z(ret, yz);       | ||||
|       models::apply_orientation(ret[0], ret[1]); | ||||
|       models::apply_orientation(ret[1], ret[0]); | ||||
|       models::apply_orientation_yz(ret[2], ret[1]); | ||||
|       break; | ||||
|       } | ||||
| @@ -898,7 +900,7 @@ EX void apply_other_model(shiftpoint H_orig, hyperpoint& ret, eModel md) { | ||||
|       ret = compute_hybrid(H, whateveri[0]);  | ||||
|        | ||||
|       move_y_to_z(ret, yz);       | ||||
|       models::apply_orientation(ret[0], ret[1]); | ||||
|       models::apply_orientation(ret[1], ret[0]); | ||||
|       models::apply_orientation_yz(ret[2], ret[1]); | ||||
|       break; | ||||
|       } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue