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

Function ImMax

extern/imgui/imgui_internal.h:463–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461// (Exceptionally using templates here but we could also redefine them for those types)
462template<typename T> static inline T ImMin(T lhs, T rhs) { return lhs < rhs ? lhs : rhs; }
463template<typename T> static inline T ImMax(T lhs, T rhs) { return lhs >= rhs ? lhs : rhs; }
464template<typename T> static inline T ImClamp(T v, T mn, T mx) { return (v < mn) ? mn : (v > mx) ? mx : v; }
465template<typename T> static inline T ImLerp(T a, T b, float t) { return (T)(a + (b - a) * t); }
466template<typename T> static inline void ImSwap(T& a, T& b) { T tmp = a; a = b; b = tmp; }

Callers 15

BeginTableExMethod · 0.85
TableUpdateLayoutMethod · 0.85
TableUpdateBordersMethod · 0.85
EndTableMethod · 0.85
TableGetCellBgRectMethod · 0.85
TableNextRowMethod · 0.85
TableEndRowMethod · 0.85
TableBeginCellMethod · 0.85
TableEndCellMethod · 0.85
TableSetColumnWidthMethod · 0.85

Calls 1

ImVec2Function · 0.85

Tested by

no test coverage detected