mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-17 19:48:06 +00:00
correct get_coord in Goldberg
This commit is contained in:
@@ -850,6 +850,12 @@ namespace hr { namespace gp {
|
||||
return dmain + length(centerloc-at) - length(centerloc);
|
||||
}
|
||||
|
||||
hyperpoint get_master_coordinates(cell *c) {
|
||||
auto li = get_local_info(c);
|
||||
be_in_triangle(li);
|
||||
return corners * loctoh_ort(li.relative);
|
||||
}
|
||||
|
||||
array<heptagon*, 3> get_masters(cell *c) {
|
||||
if(GOLDBERG) {
|
||||
auto li = get_local_info(c);
|
||||
|
||||
Reference in New Issue
Block a user