Commit graph

7,944 commits

Author SHA1 Message Date
Ray
503cd7ba34
Update raymath.h 2024-12-01 22:45:09 +01:00
Jonathan Akaba
1b4e73cf2f
Update documentation for Vector2Angle (#4556) 2024-12-01 22:43:32 +01:00
Ray
6fbf08cc1f
Update pbr.fs 2024-12-01 22:41:38 +01:00
Ray
f9cf684356
Update pbr.vs 2024-12-01 22:40:46 +01:00
Ray
698bfc48fe
Update pbr.fs 2024-12-01 22:40:23 +01:00
Ray
6c59dc4a65
Update BINDINGS.md 2024-12-01 22:39:09 +01:00
devdad
645f9e31c9
I've created bindings for raylib 5.5 for c3-lang at https://c3-lang.org (#4555)
* basic pbr example

pbr implementation  includes rpbr.h and few shader files header only file, which self contain everything needed for pbr rendering. Few textures and one model of the car which is under free licence which is included inside basic_pbr.c example file  currently supported shader versions are 120 and 330 , version 100 has small issue which I have to resolve

* Unloading PBRMAterial

I forgot unloading PBRMaterial

* fix small issue with texOffset assigment.

value was Vector4 at first but I found out it would be unclear for and users, so I change to have two Vector2 instead, but forgot to assign offset .

* Changed size of textures and file name changed

Changed size of textures from 2048x2048 to 1024x1024 and file name changed to shaders_basic_pbr.c ,
Added the function PBRModel PBRModelLoadFromMesh(Mesh mesh);
but GenMeshPlane(2, 2.0, 3, 3) culdn't be used because it crash once GenMeshTangents() is used with that plane mesh

* Update to 5.5 version  of eexample and fix to work in web

set GLSL_VERSION            100

set precision highp float;
removed in keyword
fix for loop has to use only constant

* Update shader_basic_pbr example to work on web

changed to GLSL_VERSION            100
update glsl100 shader
set float  precision  to highp
removed keyword  in
change for loop tu use constant value  gives an error

* Update shader_basic_pbr example to work on web

changed to GLSL_VERSION            100
update glsl100 shader
set float  precision  to highp
removed keyword  in
change for loop tu use constant value  gives an error

* removed rpbr.h

removed rpbr.h

* Bindings for c3-lang    raylib 5.5 and raylib 5.0

I've created raylib 5.5 binding for c3-Lang  https://c3-lang.org
2024-12-01 22:37:28 +01:00
Mossieur-Patate
9d318a6fbf
Update CONTRIBUTING.md + FAQ.md: small misprints (#4553)
* Update CONTRIBUTING.md: small misprint

* Update FAQ.md: small misprint
2024-12-01 22:35:19 +01:00
ColleagueRiley
0760667cbb use RL_MALLOC for RGFW 2024-12-01 16:18:56 -05:00
ColleagueRiley
9ecd1ce52c update RGFW 2024-11-29 20:00:21 -05:00
Caleb Heydon
58fe34d9cc
[raudio] Fixed buffer overflow when loading WAV files (#4539) 2024-11-28 22:58:35 +01:00
RealDoigt
cd16c9ea91
Add the D Object Oriented Raylib wrapper to the list of BINDINGS.md (#4550)
* add the D Object Oriented Raylib wrapper to the list of BINDINGS.md

* copy pasted correct url

I couldn't do it from the web ui for some reason
2024-11-28 22:50:44 +01:00
github-actions[bot]
31a1047782 Update raylib_api.* by CI 2024-11-28 21:50:14 +00:00
Mossieur-Patate
2c4c6e6201
GetKeyName prototype (#4544)
* Update raylib.h: GeyKeyName prototype

Prototype for GetKeyName, which is already implemented elsewhere.

* Update raylib_to_parse.h: GetKeyName prototype
2024-11-28 22:50:00 +01:00
Kacper Zybała
ba1e14625a
[build] CMake: Set CMake version to 3.12 (#4547) 2024-11-28 22:47:39 +01:00
Tymoteusz Moryto
949c31605b
CMakeOptions.txt: Added a missing ) (#4545) 2024-11-28 22:46:52 +01:00
glowiak
623c4376cc
The Jaylib binding is at 5.5 (#4546) 2024-11-28 22:46:04 +01:00
Ray
abb3c8e9f7 Revert "[build][cmake] Improve cmake config file generation (#4541)"
This reverts commit c53dd8a931.
2024-11-28 22:44:42 +01:00
Colleague Riley
2d71d078f0
Merge branch 'raysan5:master' into pure 2024-11-27 20:45:39 -05:00
ColleagueRiley
77f23bcc6a update RGFW (fix X11 bug) 2024-11-27 20:45:01 -05:00
ColleagueRiley
f1cf7bf349 Merge branch 'pure' of https://github.com/ColleagueRiley/raylib 2024-11-27 19:55:01 -05:00
ColleagueRiley
0e2c219741 update RGFW (rename joystick to gamepad to avoid misunderstandings 2024-11-27 17:48:11 -05:00
Leonardo Guilherme de Freitas
c53dd8a931
[build][cmake] Improve cmake config file generation (#4541)
* Improve cmake config file generation

This allows for finding raylib on a non-standard location (eg, not in /usr/lib{,64})

* Only have glfw as private if using internal glfw and not static
2024-11-27 11:39:36 +01:00
ColleagueRiley
3729901903 update RGFW 2024-11-26 21:12:59 -05:00
ColleagueRiley
6bbed2993b delete makefile added by mistake 2024-11-26 10:08:41 -05:00
Anthony Carbajal
79188f570b
fixed spacing in sha1 comment (#4540) 2024-11-25 20:17:22 +01:00
ColleagueRiley
2a9d25b067 fix xinput stuff 2024-11-24 17:17:24 -05:00
ColleagueRiley
e6d7d0cf23 update raylib (merge) 2024-11-24 13:14:56 -05:00
ColleagueRiley
dfacae7213 Merge branch 'master' of https://github.com/raysan5/raylib into pure 2024-11-24 13:13:46 -05:00
Jeffery Myers
6141489b00
Fixes casting warnings with RGFW platform. (#4534) 2024-11-24 16:25:36 +01:00
listeria
e494c545b8
raymath: fix C++ operator overloads (#4535)
Co-authored-by: Listeria monocytogenes <listeria@disroot.org>
2024-11-24 16:24:34 +01:00
HaxSam
a9aa6b4988
[build.zig] improve build system for zig (#4531)
Is now possible to switch platform

Is now possible to diable raudio, rmodels, and so on

Made getOptions public so it can be used for zig wrappers
2024-11-24 16:22:51 +01:00
ColleagueRiley
0bc83b3bfd update RGFW (again) 2024-11-23 17:59:02 -05:00
ColleagueRiley
ae30613813 fix? 2024-11-23 17:57:57 -05:00
ColleagueRiley
97caf13aaf fix gamepad bugs (linux) | add L3 + R3 (gamepad) 2024-11-23 01:11:53 -05:00
Ray
47f83aa58f Merge branch 'master' of https://github.com/raysan5/raylib 2024-11-22 11:06:53 +01:00
Ray
da6fa1d756 Fix #4529 2024-11-22 11:06:34 +01:00
github-actions[bot]
65e0d2cfda Update raylib_api.* by CI 2024-11-22 10:01:29 +00:00
Ray
50a2afff9e Update raylib version to 5.6-dev to avoid confusions with release 2024-11-22 11:01:10 +01:00
Asdqwe
a53a8958f2
Add implementation to GetWindowScaleDPI() for PLATFORM_WEB (#4526) 2024-11-22 10:52:55 +01:00
ColleagueRiley
2776510f47 send fake screensize 2024-11-21 21:01:00 -05:00
Ray
0d39e7137b Fix #4527 2024-11-21 12:38:29 +01:00
ColleagueRiley
8dc647153c fix web_rgfw gamepad 2024-11-20 21:42:50 -05:00
veins1
11429b48eb
Fix for #4521 (#4523) 2024-11-20 21:28:46 +01:00
Gael Pérez
415a98965a
update raymath.h: add Vector2CrossProduct function (#4520) 2024-11-20 11:27:14 +01:00
kimierik
532167d28b
build.zig: fix raygui inclusion in windows crosscompilation (#4489) 2024-11-20 11:26:29 +01:00
devdad
6af664c04e
Update shaders_basic_pbr example to work on web (#4516)
* basic pbr example

pbr implementation  includes rpbr.h and few shader files header only file, which self contain everything needed for pbr rendering. Few textures and one model of the car which is under free licence which is included inside basic_pbr.c example file  currently supported shader versions are 120 and 330 , version 100 has small issue which I have to resolve

* Unloading PBRMAterial

I forgot unloading PBRMaterial

* fix small issue with texOffset assigment.

value was Vector4 at first but I found out it would be unclear for and users, so I change to have two Vector2 instead, but forgot to assign offset .

* Changed size of textures and file name changed

Changed size of textures from 2048x2048 to 1024x1024 and file name changed to shaders_basic_pbr.c ,
Added the function PBRModel PBRModelLoadFromMesh(Mesh mesh);
but GenMeshPlane(2, 2.0, 3, 3) culdn't be used because it crash once GenMeshTangents() is used with that plane mesh

* Update to 5.5 version  of eexample and fix to work in web

set GLSL_VERSION            100

set precision highp float;
removed in keyword
fix for loop has to use only constant

* Update shader_basic_pbr example to work on web

changed to GLSL_VERSION            100
update glsl100 shader
set float  precision  to highp
removed keyword  in
change for loop tu use constant value  gives an error

* Update shader_basic_pbr example to work on web

changed to GLSL_VERSION            100
update glsl100 shader
set float  precision  to highp
removed keyword  in
change for loop tu use constant value  gives an error

* removed rpbr.h

removed rpbr.h
2024-11-20 11:25:31 +01:00
Jorge A. Gomes
57edbc3bab
Update BINDINGS.md for raylib-py 5.5 (#4519) 2024-11-20 11:24:47 +01:00
ColleagueRiley
efe1bd282b fix some bugs 2024-11-19 21:40:04 -05:00
Philipp
a145779e21
Update BINDINGS.md: fortran-raylib is on v5.5 (#4518) 2024-11-19 22:42:34 +01:00