mirror of
https://github.com/g-truc/glm.git
synced 2025-04-08 06:43:10 +00:00
Fixed bug #161, perspectiveFov was written with a left handed coord system.
This commit is contained in:
parent
040ea3ce7e
commit
aebcd7ec3f
1 changed files with 2 additions and 2 deletions
|
@ -261,8 +261,8 @@ namespace glm
|
|||
Result[0][0] = w;
|
||||
Result[1][1] = h;
|
||||
Result[2][2] = (zFar + zNear) / (zFar - zNear);
|
||||
Result[2][3] = valType(1);
|
||||
Result[3][2] = -(valType(2) * zFar * zNear) / (zFar - zNear);
|
||||
Result[2][3] = -valType(1);
|
||||
Result[3][2] = (valType(2) * zFar * zNear) / (zFar - zNear);
|
||||
return Result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue