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

Method ToFloat3

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

Source from the content-addressed store, hash-verified

64}
65
66Float3 Half3::ToFloat3() const
67{
68 return Float3(
69 Float16Compressor::Decompress(X),
70 Float16Compressor::Decompress(Y),
71 Float16Compressor::Decompress(Z)
72 );
73}
74
75Half4::Half4(const Float4& v)
76{

Callers 15

InitMethod · 0.45
exportCachePreviewMethod · 0.45
SampleCacheFunction · 0.45
TestMath.cppFile · 0.45
TestConversionMethod · 0.45
DownloadVertexBufferMethod · 0.45
InitFromModelVerticesMethod · 0.45
DownloadVertexBufferMethod · 0.45
SaveLODMethod · 0.45
FloatR11G11B10.csFile · 0.45
DrawMethod · 0.45

Calls 2

Float3Class · 0.85
DecompressFunction · 0.85

Tested by 1

TestConversionMethod · 0.36