in set_view, trust rightward

This commit is contained in:
Zeno Rogue 2021-05-23 15:52:46 +02:00
parent a8acbdd943
commit 0c816d3c68
1 changed files with 0 additions and 3 deletions

View File

@ -2944,9 +2944,6 @@ EX void set_view(hyperpoint camera, hyperpoint forward, hyperpoint upward) {
upward /= hypot_d(3, upward);
hyperpoint rightward = (forward ^ upward);
rightward -= (forward|rightward) * forward;
rightward -= (upward|rightward) * upward;
rightward /= hypot_d(3, rightward);
transmatrix rotator = Id;
rotator[2] = forward;