mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	gp:: conj() function for gp::loc
This commit is contained in:
		| @@ -47,6 +47,11 @@ EX namespace gp { | ||||
|     loc operator /(int i) { | ||||
|       return loc(first/i, second/i); | ||||
|       } | ||||
|        | ||||
|     loc conj() { | ||||
|       if(S3 == 4) return loc(first, -second); | ||||
|       return loc(first+second, -second); | ||||
|       } | ||||
|  | ||||
|     }; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue