mirror of
https://github.com/recp/cglm.git
synced 2026-01-04 22:30:05 +00:00
convert PI to float to suppress warnings
This commit is contained in:
@@ -146,7 +146,7 @@ glm_perspective_default(mat4 dest) {
|
||||
int32_t rect[4];
|
||||
glm_platfom_get_viewport_rect(rect);
|
||||
|
||||
glm_perspective((float)M_PI_4,
|
||||
glm_perspective((float)CGLM_PI_4,
|
||||
(float)rect[2]/rect[3],
|
||||
0.01f,
|
||||
100.0f,
|
||||
|
||||
Reference in New Issue
Block a user