Commit graph

537 commits

Author SHA1 Message Date
Alessandro Cuppari
39b56ef013 feat: add DrawTextPro 2024-04-16 21:55:35 +01:00
Milan Nikolic
c3665eb9ab
Add x11 build tag 2024-02-27 12:46:48 +01:00
Milan Nikolic
069b39e688
Fix android build 2024-02-27 07:48:19 +01:00
Milan Nikolic
caf96ad1c0
Update cgo 2024-02-26 09:29:23 +01:00
Milan Nikolic
83c4beb421
Add wayland files 2024-02-26 09:26:41 +01:00
Milan Nikolic
5abcc8b79c
Update wayland script 2024-02-26 09:26:12 +01:00
Milan Nikolic
8596a5db72
Rename wayland functions 2024-02-26 09:25:40 +01:00
Milan Nikolic
ce43cc1f10
Remove deps 2024-02-26 09:24:04 +01:00
Milan Nikolic
9a0e172ca7
Update GLFW 2024-02-26 09:23:08 +01:00
Oleksandr Kryvonos
a870a09894 variadic parameter for runesNumber in LoadFontEx 2024-02-25 12:18:39 +01:00
Oleksandr Kryvonos
a490f10c86 copied only changes 2024-02-24 20:39:33 +01:00
JupiterRider
3bc33ec8b7 Update rlgl_cgo.go 2024-01-23 17:58:33 +01:00
JupiterRider
2a08e83ca4 Fix typo and data-types 2024-01-23 17:56:50 +01:00
Daniel 'ShellFu' Kendrick
0b58bcbe1b Add Compute Shader and SSBO Functions to raylib-go in rlgl_purego.go
This commit introduces functions related to compute shaders and
Shader Buffer Storage Objects (SSBOs) in raylib-go. It adds
bindings for loading, dispatching, and managing compute shaders
and SSBOs, aligning raylib-go more closely with the raylib C
library's capabilities. Specifically, the functions added are
`LoadComputeShaderProgram`, `ComputeShaderDispatch`, `LoadShaderBuffer`,
`UnloadShaderBuffer`, `UpdateShaderBuffer`, `BindShaderBuffer`,
`ReadShaderBuffer`, and `CopyShaderBuffer`. These additions enhance
raylib-go's utility for more advanced GPU operations.
2024-01-22 16:19:55 -07:00
Daniel 'ShellFu' Kendrick
5c31cc3104 Add Compute Shader and SSBO Functions to raylib-go
This commit introduces functions related to compute shaders and
Shader Buffer Storage Objects (SSBOs) in raylib-go. It adds
bindings for loading, dispatching, and managing compute shaders
and SSBOs, aligning raylib-go more closely with the raylib C
library's capabilities. Specifically, the functions added are
`LoadComputeShaderProgram`, `ComputeShaderDispatch`, `LoadShaderBuffer`,
`UnloadShaderBuffer`, `UpdateShaderBuffer`, `BindShaderBuffer`,
`ReadShaderBuffer`, and `CopyShaderBuffer`. These additions enhance
raylib-go's utility for more advanced GPU operations.
2024-01-21 11:08:17 -07:00
Daniel 'ShellFu' Kendrick
1f80c1e4c2 Removed test per maintainer instruction, added back in ImageFromImage and LoadTextureCubemap 2024-01-15 13:20:45 -07:00
Daniel 'ShellFu' Kendrick
509ad7da5c Align raylib-go ExportImage with C Library Behavior
The original raylib C library's ExportImage function returns a boolean to
indicate the success or failure of the export operation. This behavior was
missing in the raylib-go implementation, which provided no return value,
thereby limiting error handling capabilities.

This commit updates the ExportImage function in raylib-go to return a boolean
or an error, aligning it with its C counterpart and enabling idiomatic Go
error handling. The change includes updates to the function and tests to
reflect the new return type. This enhancement increases robustness and clarity
in error handling for Go developers using raylib-go.

The test suite has been updated and run to ensure the correct functioning of
the modified ExportImage function, with results confirming the expected
behavior in both successful and unsuccessful scenarios.

- Daniel "ShellFu" Kendrick
2024-01-15 12:20:40 -07:00
Pierre Curto
b63c9257c5 add ImageFromImage() 2024-01-10 10:22:54 +01:00
Snowminx
48241c48d2
fix: update purego signature to match 2023-12-29 20:42:43 -08:00
Snowminx
9553e2fd26
Merge branch 'gen2brain:master' into master 2023-12-29 20:40:08 -08:00
JupiterRider
6656db4829 Change signature of LoadFontFromMemory in raylib/rtext.go to match with purego version 2023-12-28 16:06:40 +01:00
Snowminx
5c6d0848aa
Merge branch 'gen2brain:master' into master 2023-12-24 19:22:17 -08:00
Snowminx
1cee1d0534
fix: pass by value to c function 2023-12-24 19:21:57 -08:00
Snowminx
656b4a4a8d
fix: update to convert params to cgo 2023-12-24 18:36:56 -08:00
Snowminx
4bb9631420
feat: update rtextures.go to have the func LoadTextureCubemap. 2023-12-24 12:40:03 -08:00
jack gleeson
19dc46f86c Add binding for DrawTriangle3D to rmodels.go 2023-12-06 19:51:46 -08:00
Milan Nikolic
48309e2407
Merge pull request #322 from swazzles/master
Add flag for borderless windowed mode
2023-11-23 18:44:46 +01:00
swazzles
34ea0cc7f5 Add flag for borderless windowed mode 2023-11-23 22:51:51 +11:00
JupiterRider
a5d2760b16 Remove obsolete comment 2023-11-22 19:06:35 +01:00
JupiterRider
f239fe2f67 Updat purego to 192c5e846faa64025fb8a6a94532c7a77fbd8dce 2023-11-22 16:26:21 +01:00
JupiterRider
43d0a14b92
Merge branch 'master' into master 2023-11-18 18:56:48 +01:00
JupiterRider
2be56088ed Update modules 2023-11-18 18:50:49 +01:00
JupiterRider
fdd3d616da Update purego 2023-11-18 18:41:43 +01:00
JupiterRider
79286ba625 Make rlgl types public and add missung functions 2023-11-18 18:27:35 +01:00
JupiterRider
251b88bcb4 Purego rlgl implemented 2023-11-18 15:11:00 +01:00
Milan Nikolic
a1c890e8cb
Update C sources 2023-11-18 13:56:50 +01:00
Milan Nikolic
f09d79e85e
Merge pull request #315 from dusk125/v2-divide-by-0
Fix potential divide by 0 in vector2
2023-11-16 17:40:50 +01:00
Allen Ray
a70feefe17 Fix potential divide by 0 in vector2 2023-11-16 11:21:15 -05:00
JupiterRider
90f0980286 Remove comments. Change build tag. 2023-11-16 17:14:20 +01:00
JupiterRider
0e067872f8 Remove file/io functions. Make purego and CGO API match. 2023-11-16 17:05:29 +01:00
JupiterRider
3219556f38 Change functions to match with raylib-go (cgo version) 2023-11-16 14:35:55 +01:00
JupiterRider
efaf005350 implement version check 2023-11-16 13:06:56 +01:00
JupiterRider
a013367ef2 Final purego functions implemented 2023-11-15 21:38:29 +01:00
JupiterRider
c290701005 More functions 2023-11-15 17:04:22 +01:00
JupiterRider
0421884b62 Typo fixed 2023-11-14 21:33:43 +01:00
JupiterRider
4bb11a7b06 More functions implemented 2023-11-14 21:31:29 +01:00
JupiterRider
b010adb6a2 More functions implemented 2023-11-14 20:44:44 +01:00
JupiterRider
c5cba9a408 Resolve merge conflicts -.- 2023-11-14 17:29:31 +01:00
Milan Nikolic
45c6718b99
Move TraceLogCallbackFun, add Vr structs 2023-11-12 22:15:19 +01:00
Milan Nikolic
6eb8c8c1f6
Update rcore 2023-11-12 20:43:27 +01:00