Added assets in perspective

This commit is contained in:
Christophe Riccio 2013-06-06 00:47:36 +00:00
parent 74d1f84e32
commit c1e150e6ec

View File

@ -268,6 +268,10 @@ namespace glm
valType const & zFar valType const & zFar
) )
{ {
assert(width > valType(0));
assert(height > valType(0));
assert(fov > valType(0));
#ifdef GLM_FORCE_RADIANS #ifdef GLM_FORCE_RADIANS
valType rad = fov; valType rad = fov;
#else #else