mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-26 18:10:35 +00:00
dual_point only in aperiodic
This commit is contained in:
parent
cd391412aa
commit
314a7af3fd
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user