mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 12:41:54 +00:00
Fixed cast warninf
This commit is contained in:
parent
fee7daf6ef
commit
d49148564a
@ -261,7 +261,7 @@ namespace ulp
|
|||||||
template <typename T>
|
template <typename T>
|
||||||
GLM_FUNC_QUALIFIER uint float_distance(T const & x, T const & y)
|
GLM_FUNC_QUALIFIER uint float_distance(T const & x, T const & y)
|
||||||
{
|
{
|
||||||
std::size_t ulp = 0;
|
uint ulp = 0;
|
||||||
|
|
||||||
if(x < y)
|
if(x < y)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user