| 1856 | struct ImTriangulator |
| 1857 | { |
| 1858 | static int EstimateTriangleCount(int points_count) { return (points_count < 3) ? 0 : points_count - 2; } |
| 1859 | static int EstimateScratchBufferSize(int points_count) { return sizeof(ImTriangulatorNode) * points_count + sizeof(ImTriangulatorNode*) * points_count * 2; } |
| 1860 | |
| 1861 | void Init(const ImVec2* points, int points_count, void* scratch_buffer); |
nothing calls this directly
no outgoing calls
no test coverage detected