From c2dd15b5d3ecd19776d8ec3eb73321dce19e43d2 Mon Sep 17 00:00:00 2001 From: nickk-dv <76812116+nickk-dv@users.noreply.github.com> Date: Wed, 6 Nov 2024 22:39:48 +0200 Subject: [PATCH] fix LoadRandomSequence binding in vendor raylib --- vendor/raylib/raylib.odin | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vendor/raylib/raylib.odin b/vendor/raylib/raylib.odin index 4c6e4fe78..e02716a3b 100644 --- a/vendor/raylib/raylib.odin +++ b/vendor/raylib/raylib.odin @@ -1012,10 +1012,10 @@ foreign lib { // Random value generation functions - SetRandomSeed :: proc(seed: c.uint) --- // Set the seed for the random number generator - GetRandomValue :: proc(min, max: c.int) -> c.int --- // Get a random value between min and max (both included) - LoadRandomSequence :: proc(count: c.uint, min, max: c.int) --- // Load random values sequence, no values repeated - UnloadRandomSequence :: proc(sequence: ^c.int) --- // Unload random values sequence + SetRandomSeed :: proc(seed: c.uint) --- // Set the seed for the random number generator + GetRandomValue :: proc(min, max: c.int) -> c.int --- // Get a random value between min and max (both included) + LoadRandomSequence :: proc(count: c.uint, min, max: c.int) -> [^]c.int --- // Load random values sequence, no values repeated + UnloadRandomSequence :: proc(sequence: [^]c.int) --- // Unload random values sequence // Misc. functions TakeScreenshot :: proc(fileName: cstring) --- // Takes a screenshot of current screen (filename extension defines format) @@ -1517,7 +1517,7 @@ foreign lib { // Mesh generation functions GenMeshPoly :: proc(sides: c.int, radius: f32) -> Mesh --- // Generate polygonal mesh - GenMeshPlane :: proc(width, lengthL: f32, resX, resZ: c.int) -> Mesh --- // Generate plane mesh (with subdivisions) + GenMeshPlane :: proc(width, length: f32, resX, resZ: c.int) -> Mesh --- // Generate plane mesh (with subdivisions) GenMeshCube :: proc(width, height, length: f32) -> Mesh --- // Generate cuboid mesh GenMeshSphere :: proc(radius: f32, rings, slices: c.int) -> Mesh --- // Generate sphere mesh (standard sphere) GenMeshHemiSphere :: proc(radius: f32, rings, slices: c.int) -> Mesh --- // Generate half-sphere mesh (no bottom cap)