From 6b488fa9dd17e8e7e4ca9e9a86677d91d049406a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 15 Sep 2018 11:53:27 +0200 Subject: Fix minor clang-tidy warnings --- pugl_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pugl_test.c') diff --git a/pugl_test.c b/pugl_test.c index b0ea04d..fc3d921 100644 --- a/pugl_test.c +++ b/pugl_test.c @@ -85,7 +85,7 @@ static const float cubeVertices[] = { static void perspective(float* m, float fov, float aspect, float zNear, float zFar) { - const float h = tan(fov); + const float h = tanf(fov); const float w = h / aspect; const float depth = zNear - zFar; const float q = (zFar + zNear) / depth; -- cgit v1.2.1