Skip to content

Commit

Permalink
Fix UnProjectPoint3
Browse files Browse the repository at this point in the history
  • Loading branch information
Evil-Spirit committed Nov 19, 2016
1 parent d3f2ac7 commit 832a8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/render.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Vector Camera::UnProjectPoint3(Vector p) const {
Vector orig = offset.ScaledBy(-1);
orig = orig.Plus(projRight.ScaledBy(p.x)).Plus(
projUp. ScaledBy(p.y).Plus(
projRight.Cross(projUp). ScaledBy(p.z)));
projUp.Cross(projRight). ScaledBy(p.z)));
return orig;
}

Expand Down

0 comments on commit 832a8bd

Please sign in to comment.