|
@@ -1318,7 +1318,7 @@ namespace glm
|
|
|
detail::tvec2<T> const & value
|
|
detail::tvec2<T> const & value
|
|
|
)
|
|
)
|
|
|
{
|
|
{
|
|
|
- return detail::tvec2<T>(
|
|
|
|
|
|
|
+ return detail::tvec2<int>(
|
|
|
floatBitsToInt(value.x),
|
|
floatBitsToInt(value.x),
|
|
|
floatBitsToInt(value.y));
|
|
floatBitsToInt(value.y));
|
|
|
}
|
|
}
|
|
@@ -1329,7 +1329,7 @@ namespace glm
|
|
|
detail::tvec3<T> const & value
|
|
detail::tvec3<T> const & value
|
|
|
)
|
|
)
|
|
|
{
|
|
{
|
|
|
- return detail::tvec3<T>(
|
|
|
|
|
|
|
+ return detail::tvec3<int>(
|
|
|
floatBitsToInt(value.x),
|
|
floatBitsToInt(value.x),
|
|
|
floatBitsToInt(value.y));
|
|
floatBitsToInt(value.y));
|
|
|
}
|
|
}
|
|
@@ -1340,7 +1340,7 @@ namespace glm
|
|
|
detail::tvec4<T> const & value
|
|
detail::tvec4<T> const & value
|
|
|
)
|
|
)
|
|
|
{
|
|
{
|
|
|
- return detail::tvec4<T>(
|
|
|
|
|
|
|
+ return detail::tvec4<int>(
|
|
|
floatBitsToInt(value.x),
|
|
floatBitsToInt(value.x),
|
|
|
floatBitsToInt(value.y));
|
|
floatBitsToInt(value.y));
|
|
|
}
|
|
}
|
|
@@ -1363,7 +1363,7 @@ namespace glm
|
|
|
detail::tvec2<T> const & value
|
|
detail::tvec2<T> const & value
|
|
|
)
|
|
)
|
|
|
{
|
|
{
|
|
|
- return detail::tvec2<T>(
|
|
|
|
|
|
|
+ return detail::tvec2<uint>(
|
|
|
floatBitsToUint(value.x),
|
|
floatBitsToUint(value.x),
|
|
|
floatBitsToUint(value.y));
|
|
floatBitsToUint(value.y));
|
|
|
}
|
|
}
|
|
@@ -1374,7 +1374,7 @@ namespace glm
|
|
|
detail::tvec3<T> const & value
|
|
detail::tvec3<T> const & value
|
|
|
)
|
|
)
|
|
|
{
|
|
{
|
|
|
- return detail::tvec3<T>(
|
|
|
|
|
|
|
+ return detail::tvec3<uint>(
|
|
|
floatBitsToUint(value.x),
|
|
floatBitsToUint(value.x),
|
|
|
floatBitsToUint(value.y));
|
|
floatBitsToUint(value.y));
|
|
|
}
|
|
}
|
|
@@ -1385,7 +1385,7 @@ namespace glm
|
|
|
detail::tvec4<T> const & value
|
|
detail::tvec4<T> const & value
|
|
|
)
|
|
)
|
|
|
{
|
|
{
|
|
|
- return detail::tvec4<T>(
|
|
|
|
|
|
|
+ return detail::tvec4<uint>(
|
|
|
floatBitsToUint(value.x),
|
|
floatBitsToUint(value.x),
|
|
|
floatBitsToUint(value.y));
|
|
floatBitsToUint(value.y));
|
|
|
}
|
|
}
|
|
@@ -1408,7 +1408,7 @@ namespace glm
|
|
|
detail::tvec2<T> const & value
|
|
detail::tvec2<T> const & value
|
|
|
)
|
|
)
|
|
|
{
|
|
{
|
|
|
- return detail::tvec2<T>(
|
|
|
|
|
|
|
+ return detail::tvec2<float>(
|
|
|
intBitsToFloat(value.x),
|
|
intBitsToFloat(value.x),
|
|
|
intBitsToFloat(value.y));
|
|
intBitsToFloat(value.y));
|
|
|
}
|
|
}
|
|
@@ -1419,7 +1419,7 @@ namespace glm
|
|
|
detail::tvec3<T> const & value
|
|
detail::tvec3<T> const & value
|
|
|
)
|
|
)
|
|
|
{
|
|
{
|
|
|
- return detail::tvec3<T>(
|
|
|
|
|
|
|
+ return detail::tvec3<float>(
|
|
|
intBitsToFloat(value.x),
|
|
intBitsToFloat(value.x),
|
|
|
intBitsToFloat(value.y));
|
|
intBitsToFloat(value.y));
|
|
|
}
|
|
}
|
|
@@ -1430,7 +1430,7 @@ namespace glm
|
|
|
detail::tvec4<T> const & value
|
|
detail::tvec4<T> const & value
|
|
|
)
|
|
)
|
|
|
{
|
|
{
|
|
|
- return detail::tvec4<T>(
|
|
|
|
|
|
|
+ return detail::tvec4<float>(
|
|
|
intBitsToFloat(value.x),
|
|
intBitsToFloat(value.x),
|
|
|
intBitsToFloat(value.y));
|
|
intBitsToFloat(value.y));
|
|
|
}
|
|
}
|
|
@@ -1453,7 +1453,7 @@ namespace glm
|
|
|
detail::tvec2<T> const & value
|
|
detail::tvec2<T> const & value
|
|
|
)
|
|
)
|
|
|
{
|
|
{
|
|
|
- return detail::tvec2<T>(
|
|
|
|
|
|
|
+ return detail::tvec2<float>(
|
|
|
uintBitsToFloat(value.x),
|
|
uintBitsToFloat(value.x),
|
|
|
uintBitsToFloat(value.y));
|
|
uintBitsToFloat(value.y));
|
|
|
}
|
|
}
|
|
@@ -1464,7 +1464,7 @@ namespace glm
|
|
|
detail::tvec3<T> const & value
|
|
detail::tvec3<T> const & value
|
|
|
)
|
|
)
|
|
|
{
|
|
{
|
|
|
- return detail::tvec3<T>(
|
|
|
|
|
|
|
+ return detail::tvec3<float>(
|
|
|
uintBitsToFloat(value.x),
|
|
uintBitsToFloat(value.x),
|
|
|
uintBitsToFloat(value.y));
|
|
uintBitsToFloat(value.y));
|
|
|
}
|
|
}
|
|
@@ -1475,7 +1475,7 @@ namespace glm
|
|
|
detail::tvec4<T> const & value
|
|
detail::tvec4<T> const & value
|
|
|
)
|
|
)
|
|
|
{
|
|
{
|
|
|
- return detail::tvec4<T>(
|
|
|
|
|
|
|
+ return detail::tvec4<float>(
|
|
|
uintBitsToFloat(value.x),
|
|
uintBitsToFloat(value.x),
|
|
|
uintBitsToFloat(value.y));
|
|
uintBitsToFloat(value.y));
|
|
|
}
|
|
}
|