MCPcopy Create free account
hub / github.com/assaultcube/AC / decodeyaw

Function decodeyaw

source/src/protocol.cpp:575–579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

573}
574
575float decodeyaw(int r)
576{
577 r &= (1 << YAWBITS) - 1;
578 return float(r) / (1 << YAWBITS) * 360.0f;
579}
580
581static const int msgsizes[] = // size inclusive message token, 0 for variable or not-checked sizes
582{

Callers 2

parsepositionsFunction · 0.85
processFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected