mirror of
https://github.com/g-truc/glm.git
synced 2025-04-07 22:40:17 +00:00
Fixed missing conversion to T
This commit is contained in:
parent
f4f1090e7f
commit
d33cbe42a6
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ namespace glm
|
|||
T bottom, T top
|
||||
)
|
||||
{
|
||||
tmat4x4<T, defaultp> Result(1);
|
||||
tmat4x4<T, defaultp> Result(T(1));
|
||||
Result[0][0] = static_cast<T>(2) / (right - left);
|
||||
Result[1][1] = static_cast<T>(2) / (top - bottom);
|
||||
Result[2][2] = - static_cast<T>(1);
|
||||
|
|
Loading…
Add table
Reference in a new issue