Commit graph

811 commits

Author SHA1 Message Date
Milan Nikolic
53f26d8a08
Merge pull request #371 from jdbann/fix-scroll-panel-view
Fix ScrollPanel view binding
2024-04-08 15:05:34 +02:00
John Bannister
0b4f8b1cc0 Fix ScrollPanel view binding
The values on the view parameter of ScrollPanel() should be updated with
the values set by the C method.
2024-04-07 14:12:03 +01:00
Milan Nikolic
c3665eb9ab
Add x11 build tag 2024-02-27 12:46:48 +01:00
Milan Nikolic
00f5f785e6
Update android example 2024-02-27 07:54:10 +01:00
Milan Nikolic
069b39e688
Fix android build 2024-02-27 07:48:19 +01:00
Milan Nikolic
468523fda4
Update README.md 2024-02-26 09:45:57 +01:00
Milan Nikolic
3889376dd3
Update actions 2024-02-26 09:38:46 +01:00
Milan Nikolic
cc776abd3b
Update actions 2024-02-26 09:35:31 +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
Milan Nikolic
0b7f0bb776
Merge pull request #352 from uprun/only-changes-2024-02-24
added LoadFontExByRunesNumber
2024-02-25 13:24:01 +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
Milan Nikolic
83d871a38f
Merge pull request #348 from unklnik/master
Update README.md
2024-01-25 12:10:08 +01:00
unkl nik
a5d0d71e50 Update README.md 2024-01-25 12:55:45 +02:00
Milan Nikolic
0e9c277161
Merge pull request #345 from shellfu/Issue-343
Add Compute Shader and SSBO Functions to raylib-go in `rlgl_purego.go`
2024-01-23 19:00:55 +01:00
ShellFu
74450e33c1
Merge pull request #1 from JupiterRider/Issue-343
Fixed  types and typos
2024-01-23 10:32:55 -07: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
Milan Nikolic
5cc3226b35
Merge pull request #344 from shellfu/Issue-343
Add Compute Shader and SSBO Functions to raylib-go
2024-01-22 14:23:02 +01: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
Milan Nikolic
49aab27a9b
Merge pull request #342 from shellfu/Issue-341
Align raylib-go ExportImage with C Library Behavior
2024-01-16 13:05:07 +01: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
Milan Nikolic
483e94e4d9
Merge pull request #339 from pierrec/master
add ImageFromImage()
2024-01-10 11:28:18 +01:00
Pierre Curto
b63c9257c5 add ImageFromImage() 2024-01-10 10:22:54 +01:00
Milan Nikolic
b32467e017
Merge pull request #337 from JupiterRider/master
physics.GetBodies: return only non nil (active) bodies
2024-01-09 17:17:35 +01:00
JupiterRider
381d68b2a3 physics.GetBodies: return only non nil (active) bodies 2024-01-09 16:54:02 +01:00
Milan Nikolic
17ce081452
Merge pull request #332 from Gamerfiend/master
feat: update rtextures.go to have the func LoadTextureCubemap.
2023-12-30 16:04:16 +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
Milan Nikolic
6f8b5ec246
Merge pull request #334 from JupiterRider/master
Change signature of LoadFontFromMemory in raylib/rtext.go
2023-12-29 14:48:53 +01: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
Milan Nikolic
6c3c38896e
Merge pull request #330 from Fluffy-Bean/master
Fix Grid mouseCell not updaing value
2023-12-25 03:18:19 +01:00
Milan Nikolic
ac28b4b4f1
Merge pull request #329 from CollCaz/master
Updated link to physac.h
2023-12-25 03:18:11 +01:00
Milan Nikolic
03d38e920f
Merge pull request #325 from jpgleeson/add-triangle-3d-binding
Add binding for DrawTriangle3D to rmodels.go
2023-12-25 03:18:02 +01:00
Snowminx
4bb9631420
feat: update rtextures.go to have the func LoadTextureCubemap. 2023-12-24 12:40:03 -08:00
Michał
cf285a20a1
Fix mouseCell pointer not updaing value 2023-12-19 14:38:36 +00:00
Yassen Tombokti
69512c77d6
Merge pull request #1 from CollCaz/CollCaz-patch-1
Updated the link to physac.h to point to the correct location.
2023-12-18 22:03:41 +00:00
Yassen Tombokti
2bee857547
Update README.md 2023-12-18 21:59:40 +00: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