mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
fix LoadRandomSequence binding in vendor raylib
This commit is contained in:
Vendored
+5
-5
@@ -1012,10 +1012,10 @@ foreign lib {
|
|||||||
|
|
||||||
// Random value generation functions
|
// Random value generation functions
|
||||||
|
|
||||||
SetRandomSeed :: proc(seed: c.uint) --- // Set the seed for the random number generator
|
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)
|
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
|
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
|
UnloadRandomSequence :: proc(sequence: [^]c.int) --- // Unload random values sequence
|
||||||
|
|
||||||
// Misc. functions
|
// Misc. functions
|
||||||
TakeScreenshot :: proc(fileName: cstring) --- // Takes a screenshot of current screen (filename extension defines format)
|
TakeScreenshot :: proc(fileName: cstring) --- // Takes a screenshot of current screen (filename extension defines format)
|
||||||
@@ -1517,7 +1517,7 @@ foreign lib {
|
|||||||
// Mesh generation functions
|
// Mesh generation functions
|
||||||
|
|
||||||
GenMeshPoly :: proc(sides: c.int, radius: f32) -> Mesh --- // Generate polygonal mesh
|
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
|
GenMeshCube :: proc(width, height, length: f32) -> Mesh --- // Generate cuboid mesh
|
||||||
GenMeshSphere :: proc(radius: f32, rings, slices: c.int) -> Mesh --- // Generate sphere mesh (standard sphere)
|
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)
|
GenMeshHemiSphere :: proc(radius: f32, rings, slices: c.int) -> Mesh --- // Generate half-sphere mesh (no bottom cap)
|
||||||
|
|||||||
Reference in New Issue
Block a user