MCPcopy Create free account
hub / github.com/BobbyAnguelov/Esoterica / EncodeFloat

Function EncodeFloat

Code/Base/Encoding/Quantization.h:69–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 // 32 bit float to 16bit uint
68
69 struct FloatRange
70 {
71 EE_SERIALIZE( m_rangeStart, m_rangeLength );
72
73 FloatRange() = default;
74
75 FloatRange( float start, float length )
76 : m_rangeStart( start )
77 , m_rangeLength( length )
78 {}
79

Callers 2

WriteQuantizedFloatMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected