From 1c94c52802e21d98a8c43f6d65c573ae89d7cffc Mon Sep 17 00:00:00 2001 From: TSnake41 Date: Sun, 3 Oct 2021 13:19:17 +0200 Subject: [PATCH] Update binding --- raylib | 2 +- tools/api.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/raylib b/raylib index 9882796..9b3d74d 160000 --- a/raylib +++ b/raylib @@ -1 +1 @@ -Subproject commit 9882796df04218403fda23e2adbab8f347f88270 +Subproject commit 9b3d74db6bd9e38bc1447f636897990bbd698b4b diff --git a/tools/api.h b/tools/api.h index f24bd79..6b1aee1 100644 --- a/tools/api.h +++ b/tools/api.h @@ -180,6 +180,7 @@ void DrawLineV(Vector2 startPos, Vector2 endPos, Color color) void DrawLineEx(Vector2 startPos, Vector2 endPos, float thick, Color color) void DrawLineBezier(Vector2 startPos, Vector2 endPos, float thick, Color color) void DrawLineBezierQuad(Vector2 startPos, Vector2 endPos, Vector2 controlPos, float thick, Color color) +void DrawLineBezierCubic(Vector2 startPos, Vector2 endPos, Vector2 startControlPos, Vector2 endControlPos, float thick, Color color) void DrawLineStrip(Vector2 *points, int pointCount, Color color) void DrawCircle(int centerX, int centerY, float radius, Color color) void DrawCircleSector(Vector2 center, float radius, float startAngle, float endAngle, int segments, Color color) @@ -265,6 +266,7 @@ Color *LoadImagePalette(Image image, int maxPaletteSize, int *colorCount) void UnloadImageColors(Color *colors) void UnloadImagePalette(Color *colors) Rectangle GetImageAlphaBorder(Image image, float threshold) +Color GetImageColor(Image image, int x, int y) void ImageClearBackground(Image *dst, Color color) void ImageDrawPixel(Image *dst, int posX, int posY, Color color) void ImageDrawPixelV(Image *dst, Vector2 position, Color color)