MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / nk_ttUSHORT

Function nk_ttUSHORT

extern/glfw/deps/nuklear.h:11000–11000  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10998 #define nk_ttLONG(p) (* (nk_int *) (p))
10999#else
11000 static nk_ushort nk_ttUSHORT(const nk_byte *p) { return (nk_ushort)(p[0]*256 + p[1]); }
11001 static nk_short nk_ttSHORT(const nk_byte *p) { return (nk_short)(p[0]*256 + p[1]); }
11002 static nk_uint nk_ttULONG(const nk_byte *p) { return (nk_uint)((p[0]<<24) + (p[1]<<16) + (p[2]<<8) + p[3]); }
11003#endif

Callers 7

nk_tt__find_tableFunction · 0.85
nk_tt_InitFontFunction · 0.85
nk_tt_FindGlyphIndexFunction · 0.85
nk_tt__GetGlyfOffsetFunction · 0.85
nk_tt_GetGlyphShapeFunction · 0.85
nk_tt_GetGlyphHMetricsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected