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

Function nk_ifloorf

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

Source from the content-addressed store, hash-verified

6051 return (int)x;
6052}
6053NK_LIB int
6054nk_ifloorf(float x)
6055{
6056 x = (float)((int)x - ((x < 0.0f) ? 1 : 0));
6057 return (int)x;
6058}
6059NK_LIB int
6060nk_iceilf(float x)
6061{

Callers 3

nk_tt_GetPackedQuadFunction · 0.85
nk_tooltip_beginFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected