FastLED 3.10.10
Loading...
Searching...
No Matches

◆ polyABFloorDivI64()

fl::i64 fl::gfx::detail::polyABFloorDivI64 ( fl::i64 a,
fl::i64 b )
inline

Floor-divide a by positive b (rounds toward -inf).

(Self-contained copy of the primitives.h helper: this header is included from the top of that file, before its own detail helpers are declared.)

Definition at line 107 of file poly_abuffer.h.

107 {
108 fl::i64 q = a / b;
109 if ((a % b) < 0) --q;
110 return q;
111}
fl::i64 i64
Definition s16x16x4.h:222

References fl::FL_NO_EXCEPT.

Referenced by drawPolygonABufferCore().

+ Here is the caller graph for this function: