Use length_t instead of int for vec and mat lengths #584

This commit is contained in:
Christophe Riccio
2016-12-30 20:05:04 +01:00
parent b92fdf5a59
commit c2fe3fccf6
217 changed files with 4724 additions and 4799 deletions

View File

@@ -8,7 +8,7 @@
namespace isPowerOfTwo
{
template <typename genType>
template<typename genType>
struct type
{
genType Value;
@@ -146,7 +146,7 @@ namespace isPowerOfTwo
namespace ceilPowerOfTwo_advanced
{
template <typename genIUType>
template<typename genIUType>
GLM_FUNC_QUALIFIER genIUType highestBitValue(genIUType Value)
{
genIUType tmp = Value;
@@ -159,13 +159,13 @@ namespace ceilPowerOfTwo_advanced
return result;
}
template <typename genType>
template<typename genType>
GLM_FUNC_QUALIFIER genType ceilPowerOfTwo_loop(genType value)
{
return glm::isPowerOfTwo(value) ? value : highestBitValue(value) << 1;
}
template <typename genType>
template<typename genType>
struct type
{
genType Value;
@@ -332,7 +332,7 @@ namespace ceilPowerOfTwo
namespace floorMultiple
{
template <typename genType>
template<typename genType>
struct type
{
genType Source;
@@ -372,7 +372,7 @@ namespace floorMultiple
namespace ceilMultiple
{
template <typename genType>
template<typename genType>
struct type
{
genType Source;