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

Function nk_ttSHORT

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

Source from the content-addressed store, hash-verified

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
11004

Callers 6

nk_tt_FindGlyphIndexFunction · 0.85
nk_tt_GetGlyphBoxFunction · 0.85
nk_tt_GetGlyphShapeFunction · 0.85
nk_tt_GetGlyphHMetricsFunction · 0.85
nk_tt_GetFontVMetricsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected