Răsfoiți Sursa

Update raylib_api.* by CI

github-actions[bot] 3 luni în urmă
părinte
comite
58a6846c8f

+ 2 - 2
parser/output/raylib_api.json

@@ -8302,7 +8302,7 @@
           "name": "dst"
         },
         {
-          "type": "Vector2 *",
+          "type": "const Vector2 *",
           "name": "points"
         },
         {
@@ -8325,7 +8325,7 @@
           "name": "dst"
         },
         {
-          "type": "Vector2 *",
+          "type": "const Vector2 *",
           "name": "points"
         },
         {

+ 2 - 2
parser/output/raylib_api.lua

@@ -6141,7 +6141,7 @@ return {
       returnType = "void",
       params = {
         {type = "Image *", name = "dst"},
-        {type = "Vector2 *", name = "points"},
+        {type = "const Vector2 *", name = "points"},
         {type = "int", name = "pointCount"},
         {type = "Color", name = "color"}
       }
@@ -6152,7 +6152,7 @@ return {
       returnType = "void",
       params = {
         {type = "Image *", name = "dst"},
-        {type = "Vector2 *", name = "points"},
+        {type = "const Vector2 *", name = "points"},
         {type = "int", name = "pointCount"},
         {type = "Color", name = "color"}
       }

+ 2 - 2
parser/output/raylib_api.txt

@@ -3185,7 +3185,7 @@ Function 352: ImageDrawTriangleFan() (4 input parameters)
   Return type: void
   Description: Draw a triangle fan defined by points within an image (first vertex is the center)
   Param[1]: dst (type: Image *)
-  Param[2]: points (type: Vector2 *)
+  Param[2]: points (type: const Vector2 *)
   Param[3]: pointCount (type: int)
   Param[4]: color (type: Color)
 Function 353: ImageDrawTriangleStrip() (4 input parameters)
@@ -3193,7 +3193,7 @@ Function 353: ImageDrawTriangleStrip() (4 input parameters)
   Return type: void
   Description: Draw a triangle strip defined by points within an image
   Param[1]: dst (type: Image *)
-  Param[2]: points (type: Vector2 *)
+  Param[2]: points (type: const Vector2 *)
   Param[3]: pointCount (type: int)
   Param[4]: color (type: Color)
 Function 354: ImageDraw() (5 input parameters)

+ 2 - 2
parser/output/raylib_api.xml

@@ -2090,13 +2090,13 @@
         </Function>
         <Function name="ImageDrawTriangleFan" retType="void" paramCount="4" desc="Draw a triangle fan defined by points within an image (first vertex is the center)">
             <Param type="Image *" name="dst" desc="" />
-            <Param type="Vector2 *" name="points" desc="" />
+            <Param type="const Vector2 *" name="points" desc="" />
             <Param type="int" name="pointCount" desc="" />
             <Param type="Color" name="color" desc="" />
         </Function>
         <Function name="ImageDrawTriangleStrip" retType="void" paramCount="4" desc="Draw a triangle strip defined by points within an image">
             <Param type="Image *" name="dst" desc="" />
-            <Param type="Vector2 *" name="points" desc="" />
+            <Param type="const Vector2 *" name="points" desc="" />
             <Param type="int" name="pointCount" desc="" />
             <Param type="Color" name="color" desc="" />
         </Function>