mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 17:40:36 +00:00
3D:: disabled build_shortest_path in euclid for now
This commit is contained in:
parent
483a5e253c
commit
00d9bacddd
2
cell.cpp
2
cell.cpp
@ -881,7 +881,7 @@ vector<cell*> build_shortest_path(cell *c1, cell *c2) {
|
|||||||
if(geometry == gCrystal) return crystal::build_shortest_path(c1, c2);
|
if(geometry == gCrystal) return crystal::build_shortest_path(c1, c2);
|
||||||
#endif
|
#endif
|
||||||
vector<cell*> p;
|
vector<cell*> p;
|
||||||
if(euclid) {
|
if(euclid && DIM == 2) {
|
||||||
using namespace hyperpoint_vec;
|
using namespace hyperpoint_vec;
|
||||||
p.push_back(c1);
|
p.push_back(c1);
|
||||||
hyperpoint h = tC0(calc_relative_matrix(c2, c1, C0)) - C0;
|
hyperpoint h = tC0(calc_relative_matrix(c2, c1, C0)) - C0;
|
||||||
|
Loading…
Reference in New Issue
Block a user