2025-03-22 23:25:21 -06:00
|
|
|
#include "arc/graphics/line.h"
|
|
|
|
|
#include "renderer.h"
|
|
|
|
|
|
|
|
|
|
void ARC_Line_Render(ARC_Point point1, ARC_Point point2, ARC_Renderer *renderer, ARC_Color color){
|
2025-04-04 03:45:53 -06:00
|
|
|
SDL_SetRenderDrawColor(renderer->renderer, color.r, color.g, color.b, color.a);
|
|
|
|
|
SDL_RenderLine(renderer->renderer, point1.x, point1.y, point2.x, point2.y);
|
2025-03-22 23:25:21 -06:00
|
|
|
}
|