MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / GetFloat

Function GetFloat

src/Protocol.c:156–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156static float GetFloat(cc_uint8* data) {
157 union IntAndFloat raw;
158 raw.u = Stream_GetU32_BE(data);
159 return raw.f;
160}
161
162static void ReadString(cc_uint8** ptr, cc_string* str) {
163 int i, length = 0;

Callers 2

CPE_DefineModelFunction · 0.85
CPE_DefineModelPartFunction · 0.85

Calls 1

Stream_GetU32_BEFunction · 0.85

Tested by

no test coverage detected