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

Method ToFloat4

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

Source from the content-addressed store, hash-verified

114}
115
116Float4 Half4::ToFloat4() const
117{
118 return Float4(
119 Float16Compressor::Decompress(X),
120 Float16Compressor::Decompress(Y),
121 Float16Compressor::Decompress(Z),
122 Float16Compressor::Decompress(W)
123 );
124}

Callers 7

LoadMethod · 0.45
RenderInnerMethod · 0.45
exportLightmapPreviewMethod · 0.45
TestMath.cppFile · 0.45
TestConversionMethod · 0.45
ExportTextureStbMethod · 0.45

Calls 2

Float4Class · 0.85
DecompressFunction · 0.85

Tested by 1

TestConversionMethod · 0.36