mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 23:50:27 +00:00
gp:: conj() function for gp::loc
This commit is contained in:
parent
65065c7e69
commit
4425556ebc
@ -48,6 +48,11 @@ EX namespace gp {
|
||||
return loc(first/i, second/i);
|
||||
}
|
||||
|
||||
loc conj() {
|
||||
if(S3 == 4) return loc(first, -second);
|
||||
return loc(first+second, -second);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
struct local_info {
|
||||
|
Loading…
Reference in New Issue
Block a user