mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-17 08:34:08 +00:00
fix LoadRandomSequence binding in vendor raylib
This commit is contained in:
10
vendor/raylib/raylib.odin
vendored
10
vendor/raylib/raylib.odin
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user