Internal helper: true when a mesh contains basic CPU-side geometry data.
| 113 | |
| 114 | // Internal helper: true when a mesh contains basic CPU-side geometry data. |
| 115 | static inline bool RaylibAssertMeshValid(Mesh mesh) |
| 116 | { |
| 117 | return mesh.vertexCount > 0 && mesh.triangleCount > 0 && mesh.vertices != NULL; |
| 118 | } |
| 119 | |
| 120 | #define RAYLIB_ASSERT_FLOAT_EQ(a, b) RaylibAssertFloatEq((float)(a), (float)(b)) |
| 121 | #define RAYLIB_ASSERT_CHANNEL_WITHIN(a, b, tolerance) RaylibAssertChannelWithin((int)(a), (int)(b), (int)(tolerance)) |
nothing calls this directly
no outgoing calls
no test coverage detected