MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / ToFloat2

Method ToFloat2

Source/Engine/Core/Math/Half.cpp:58–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56#endif
57
58Float2 Half2::ToFloat2() const
59{
60 return Float2(
61 Float16Compressor::Decompress(X),
62 Float16Compressor::Decompress(Y)
63 );
64}
65
66Float3 Half3::ToFloat3() const
67{

Callers 2

InitFromModelVerticesMethod · 0.45

Calls 2

Float2Class · 0.85
DecompressFunction · 0.85

Tested by

no test coverage detected