From 85ff1de130b4f213d870e20a4590964a45bff6fd Mon Sep 17 00:00:00 2001 From: Miguel Angel Astor Romero Date: Fri, 10 Feb 2017 13:33:19 -0400 Subject: [PATCH] Removed an inline. --- sampling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sampling.cpp b/sampling.cpp index 52ee9a1..b698569 100644 --- a/sampling.cpp +++ b/sampling.cpp @@ -14,7 +14,7 @@ using glm::pi; const float PDF = (1.0f / (2.0f * pi())); -inline float random01() { +float random01() { return static_cast(rand() % 1024) / 1025.0f; }