mirror of
https://github.com/g-truc/glm.git
synced 2024-11-14 06:04:34 +00:00
Fixed half to float implicit cast
This commit is contained in:
parent
67e504e40b
commit
e4792b6f4d
@ -256,7 +256,7 @@ namespace detail
|
|||||||
|
|
||||||
inline thalf::operator float() const
|
inline thalf::operator float() const
|
||||||
{
|
{
|
||||||
return toFloat();
|
return toFloat32(this->data);
|
||||||
}
|
}
|
||||||
|
|
||||||
//inline half::operator double()
|
//inline half::operator double()
|
||||||
|
Loading…
Reference in New Issue
Block a user