dual_point only in aperiodic

This commit is contained in:
Zeno Rogue 2023-03-25 09:25:16 +01:00
parent cd391412aa
commit 314a7af3fd
1 changed files with 1 additions and 0 deletions

View File

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