Internal helper: true when two color channels differ by no more than the given tolerance.
| 105 | |
| 106 | // Internal helper: true when two color channels differ by no more than the given tolerance. |
| 107 | static inline bool RaylibAssertChannelWithin(int a, int b, int tolerance) |
| 108 | { |
| 109 | int delta = a - b; |
| 110 | if (delta < 0) delta = -delta; |
| 111 | return delta <= tolerance; |
| 112 | } |
| 113 | |
| 114 | // Internal helper: true when a mesh contains basic CPU-side geometry data. |
| 115 | static inline bool RaylibAssertMeshValid(Mesh mesh) |
nothing calls this directly
no outgoing calls
no test coverage detected