Renamed some things.

This commit is contained in:
Alex Szpakowski
2016-02-18 22:11:41 -04:00
parent bd93f0dfef
commit cf4b409302
17 changed files with 43 additions and 50 deletions
+3 -3
View File
@@ -76,7 +76,7 @@ struct Triangle
Vertex a, b, c;
};
inline int next_p2(int x)
inline int nextP2(int x)
{
x += (x == 0);
x--;
@@ -84,9 +84,9 @@ inline int next_p2(int x)
return ++x;
}
inline float next_p2(float x)
inline float nextP2(float x)
{
return static_cast<float>(next_p2(static_cast<int>(x)));
return (float) nextP2((int) x);
}
} // love