1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 01:50:36 +00:00

dual_point only in aperiodic

This commit is contained in:
Zeno Rogue 2023-03-25 09:25:16 +01:00
parent cd391412aa
commit 314a7af3fd

View File

@ -2679,6 +2679,7 @@ EX namespace linepatterns {
EX ld dual_angle = 0; EX ld dual_angle = 0;
hyperpoint dualpoint() { hyperpoint dualpoint() {
if(!aperiodic) return tile_center();
if(dual_length) if(dual_length)
return xspinpush0(dual_angle * degree, dual_length); return xspinpush0(dual_angle * degree, dual_length);
return tile_center(); return tile_center();