PDA

View Full Version : glm::ortho problem



Mr_blme
08-28-2015, 03:30 AM
hellow

i have a little problem with glm::Ortho when i use this matrix for projection

glm::ortho<float>(-1, 1, 1, -1, 0.1, 1)
nothing appears on screen but when i use

glm::perspective<float>(-45, -16 / 9, -1, 1)
my quad appears - but why doesn't anything appears when i use glm::Ortho as projection matrix?