Fixed pick function... again

This commit is contained in:
Christophe Riccio
2011-03-11 02:15:15 +00:00
parent c6b7592246
commit b918e3ea3f
2 changed files with 3 additions and 1 deletions

View File

@@ -359,7 +359,7 @@ namespace matrix_transform
// Translate and scale the picked region to the entire window
Result = translate(Result, Temp);
return scale(Result, T(viewport[2]) / delta.x, T(viewport[3]) / delta.y, T(1));
return scale(Result, detail::tvec3<T>(T(viewport[2]) / delta.x, T(viewport[3]) / delta.y, T(1)));
}
template <typename T>