Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 968 vs 988 for /trunk/Source Code/Rendering/Camera/Camera.cpp

Diff revisions: vs.
  @@ -399,8 +399,8 @@
399 399 return true;
400 400 }
401 401
402 - vec3<F32> Camera::unProject(F32 winCoordsX, F32 winCoordsY, F32 winCoordsZ, const vec4<I32>& viewport) const {
403 - vec4<F32> temp(winCoordsX, winCoordsY, winCoordsZ, 1.0f);
402 + vec3<F32> Camera::unProject(F32 winCoordsX, F32 winCoordsY, F32 winCoordsZ, const Rect<I32>& viewport) const {
403 + Rect<F32> temp(winCoordsX, winCoordsY, winCoordsZ, 1.0f);
404 404 temp.x = (temp.x - F32(viewport[0])) / F32(viewport[2]);
405 405 temp.y = (temp.y - F32(viewport[1])) / F32(viewport[3]);
406 406