(startX: number, startY: number, endX: number, endY: number, thickness: number, color: Color)
| 12 | // Drawing functions |
| 13 | |
| 14 | export function drawLine(startX: number, startY: number, endX: number, endY: number, thickness: number, color: Color): void { |
| 15 | bloom_draw_line(startX, startY, endX, endY, thickness, color.r, color.g, color.b, color.a); |
| 16 | } |
| 17 | |
| 18 | export function drawRect(x: number, y: number, width: number, height: number, color: Color): void { |
| 19 | bloom_draw_rect(x, y, width, height, color.r, color.g, color.b, color.a); |
nothing calls this directly
no test coverage detected