diff -r 6e79c1cb83e6 -r 6bcb284679d4 src/gl/vertexprogram.cpp --- a/src/gl/vertexprogram.cpp Wed May 25 17:48:18 2022 +0300 +++ b/src/gl/vertexprogram.cpp Wed May 25 17:56:30 2022 +0300 @@ -37,12 +37,12 @@ result.reserve(12 * d2 * d2); for (int i = 0; i < d2; ++i) { - const float alpha = i * math::pi / d2; - const float alpha_2 = (i + 1) * math::pi / d2; + const float alpha = i * pi<> / d2; + const float alpha_2 = (i + 1) * pi<> / d2; for (int j = -d2; j < d2; ++j) { - const float beta = j * math::pi / d2; - const float beta_2 = (j + 1) * math::pi / d2; + const float beta = j * pi<> / d2; + const float beta_2 = (j + 1) * pi<> / d2; const float x1 = cos(beta) * sin(alpha); const float x2 = cos(beta) * sin(alpha_2); const float x3 = cos(beta_2) * sin(alpha_2);