Added assert on input values for glm::perspective