mirror of
https://github.com/g-truc/glm.git
synced 2024-11-23 01:14:34 +00:00
Ticket #176, workaround for Intel compiler which has a bug with lookAt
This commit is contained in:
parent
a2833dcb3c
commit
535f67e45e
@ -402,11 +402,9 @@ namespace glm
|
||||
Result[0][2] =-f.x;
|
||||
Result[1][2] =-f.y;
|
||||
Result[2][2] =-f.z;
|
||||
/* Test this instead of translate3D
|
||||
Result[3][0] =-dot(s, eye);
|
||||
Result[3][1] =-dot(y, eye);
|
||||
Result[3][1] =-dot(u, eye);
|
||||
Result[3][2] = dot(f, eye);
|
||||
*/
|
||||
return translate(Result, -eye);
|
||||
return Result;
|
||||
}
|
||||
}//namespace glm
|
||||
|
Loading…
Reference in New Issue
Block a user