mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 15:40:26 +00:00
fixed towards_inf to actually accept dist parameter
This commit is contained in:
parent
65ab10ff18
commit
575fd136d7
@ -1688,7 +1688,7 @@ EX hyperpoint circumscribe(hyperpoint a, hyperpoint b, hyperpoint c, hyperpoint
|
||||
EX hyperpoint towards_inf(hyperpoint material, hyperpoint dir, ld dist IS(1)) {
|
||||
transmatrix T = gpushxto0(material);
|
||||
hyperpoint id = T * dir;
|
||||
return rgpushxto0(material) * rspintox(id) * xpush0(1);
|
||||
return rgpushxto0(material) * rspintox(id) * xpush0(dist);
|
||||
}
|
||||
|
||||
EX bool clockwise(hyperpoint h1, hyperpoint h2) {
|
||||
|
Loading…
Reference in New Issue
Block a user