Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 976 vs 988 for /trunk/Source Code/Scenes/Scene.cpp

Diff revisions: vs.
  @@ -1170,7 +1170,7 @@
1170 1170 F32 aimX = to_F32(aimPos.x);
1171 1171 F32 aimY = displaySize.height - to_F32(aimPos.y) - 1;
1172 1172
1173 - const vec4<I32>& viewport = _context.gfx().getCurrentViewport();
1173 + const Rect<I32>& viewport = _context.gfx().getCurrentViewport();
1174 1174 vec3<F32> startRay = crtCamera.unProject(aimX, aimY, 0.0f, viewport);
1175 1175 vec3<F32> endRay = crtCamera.unProject(aimX, aimY, 1.0f, viewport);
1176 1176 // see if we select another one