mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-23 06:20:09 +00:00
fixup to threepoint
This commit is contained in:
parent
693ee60fe3
commit
87cbfaeac3
@ -434,9 +434,9 @@ void vr_disk(hyperpoint& ret, hyperpoint& H) {
|
||||
|
||||
/** Compute the three-point projection. Currently only works in isotropic 3D spaces. */
|
||||
EX void threepoint_projection(const hyperpoint& H, hyperpoint& ret) {
|
||||
find_zlev(H);
|
||||
|
||||
hyperpoint H1 = H;
|
||||
find_zlev(H1);
|
||||
if(true) {
|
||||
models::apply_orientation_yz(H1[1], H1[2]);
|
||||
models::apply_orientation(H1[0], H1[1]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user