aboutsummaryrefslogtreecommitdiff
path: root/vendor/raylib
diff options
context:
space:
mode:
authorDove <1515098414@qq.com>2025-05-11 04:03:51 +0800
committerDove <1515098414@qq.com>2025-05-11 04:03:51 +0800
commit3c8cdf822ff5ce9d3a7b81645673e1823d00f889 (patch)
tree9c55eb8e435592400aada3bbb9f1e5e47f42fa3a /vendor/raylib
parentecd0655ba253397de9aabc5b1010f4999d7805e6 (diff)
add 3 missing functions in vendor:raylib/rlgl
Diffstat (limited to 'vendor/raylib')
-rw-r--r--vendor/raylib/rlgl/rlgl.odin25
1 files changed, 14 insertions, 11 deletions
diff --git a/vendor/raylib/rlgl/rlgl.odin b/vendor/raylib/rlgl/rlgl.odin
index 6ac19695d..b6cc23c48 100644
--- a/vendor/raylib/rlgl/rlgl.odin
+++ b/vendor/raylib/rlgl/rlgl.odin
@@ -375,17 +375,20 @@ foreign lib {
//------------------------------------------------------------------------------------
// Functions Declaration - Matrix operations
//------------------------------------------------------------------------------------
- MatrixMode :: proc(mode: c.int) --- // Choose the current matrix to be transformed
- PushMatrix :: proc() --- // Push the current matrix to stack
- PopMatrix :: proc() --- // Pop lattest inserted matrix from stack
- LoadIdentity :: proc() --- // Reset current matrix to identity matrix
- Translatef :: proc(x, y, z: f32) --- // Multiply the current matrix by a translation matrix
- Rotatef :: proc(angleDeg: f32, x, y, z: f32) --- // Multiply the current matrix by a rotation matrix
- Scalef :: proc(x, y, z: f32) --- // Multiply the current matrix by a scaling matrix
- MultMatrixf :: proc(matf: [^]f32) --- // Multiply the current matrix by another matrix
- Frustum :: proc(left, right, bottom, top, znear, zfar: f64) ---
- Ortho :: proc(left, right, bottom, top, znear, zfar: f64) ---
- Viewport :: proc(x, y, width, height: c.int) --- // Set the viewport area
+ MatrixMode :: proc(mode: c.int) --- // Choose the current matrix to be transformed
+ PushMatrix :: proc() --- // Push the current matrix to stack
+ PopMatrix :: proc() --- // Pop lattest inserted matrix from stack
+ LoadIdentity :: proc() --- // Reset current matrix to identity matrix
+ Translatef :: proc(x, y, z: f32) --- // Multiply the current matrix by a translation matrix
+ Rotatef :: proc(angleDeg: f32, x, y, z: f32) --- // Multiply the current matrix by a rotation matrix
+ Scalef :: proc(x, y, z: f32) --- // Multiply the current matrix by a scaling matrix
+ MultMatrixf :: proc(matf: [^]f32) --- // Multiply the current matrix by another matrix
+ Frustum :: proc(left, right, bottom, top, znear, zfar: f64) ---
+ Ortho :: proc(left, right, bottom, top, znear, zfar: f64) ---
+ Viewport :: proc(x, y, width, height: c.int) --- // Set the viewport area
+ SetClipPlanes :: proc(near, far: f64) --- // Set clip planes distances
+ GetCullDistanceNear :: proc() -> f64 --- // Get cull plane distance near
+ GetCullDistanceFar :: proc() -> f64 --- // Get cull plane distance far
//------------------------------------------------------------------------------------
// Functions Declaration - Vertex level operations