c++ - glm Error: Define GLM_FORCE_DEPTH_ZERO_TO_ONE instead of GLM_DEPTH_ZERO_TO_ONE to use 0 to 1 clip space -


i using opengl , made schoolboy error of not backing code , breaking something. code cannot compile have error:

#error:  define glm_force_depth_zero_to_one instead of glm_depth_zero_to_one use 0 1 clip space. 

since error comes setup.hpp file of glm library (below) , don't set glm_force_depth_zero_to_one explicitly anywhere think somehow including glm library problem can't figure out how fix again or how find out why has broken (other asking here)

#ifdef glm_depth_zero_to_one // legacy 0.9.8 development #   error define glm_force_depth_zero_to_one instead of glm_depth_zero_to_one use 0 1 clip space. #endif 

i googled error surprised find no results.

thanks


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -