Ray
ba802fdd5e
tweaks
преди 1 година
Pixel Phobic
b1b6ae3905
Full Movement Added to Right Analog Stick ( #3095 )
I Added Analog Stick Support to the rcamera module, However this code only allowed for 4 Directions of Movement, This Changed adds the full range of Movement to the Right Analog Stick.
преди 2 години
Peter0x44
2dec56e7b7
Add error if raylib.h is included in a C++98 program ( #3093 )
The color macros don't work properly in C++98, because they require
aggregate initialzation, which is a C++11 feature. So, explicitly state
how to fix this issue, instead of letting the compiler give a more vague
error message like:
main.cpp:8:23: error: expected '(' for function-style cast or type construction
ClearBackground(BLACK);
^~~~~
/opt/homebrew/Cellar/raylib/4.5.0/include/raylib.h:179:35: note: expanded from macro 'BLACK'
#define BLACK CLITERAL(Color){ 0, 0, 0, 255 } // Black
NOTE: Don't use this check with MSVC because by default, it reports
199711L regardless of any C++ version passed on command line
Only passing `/Zc:__cplusplus` will make MSVC set this correctly
see: https://learn.microsoft.com/en-us/cpp/build/reference/zc-cplusplus
преди 2 години
Ray
e497603678
ADDED: Experimental support for OpenGL ES 3.0 -WIP-
Just added the required flags to request the OpenGL ES 3.0 context but it has not been tested...
преди 2 години
A Billy
a18667c2e9
cross compilation for PLATFORM_DRM ( #3091 )
* added cross compilation options for DRM
* fixed identation
преди 2 години
yujiri8
45c00ab9d4
build.zig: Fix cross-compiling from Linux ( #3090 )
преди 2 години
Ray
924bb7226b
UPDATED: `sdefl` and `sinfl` DEFLATE compression libraries
преди 2 години
RayIT
15cbf313bb
Enhanced cmake part for OpenBSD ( #3086 )
* Fixed compile on OpenBSD
* Changed to not use seperate UNIX for cmake
преди 2 години
RayIT
4a371a5197
Fixed compile on OpenBSD ( #3085 )
преди 2 години
Nikita K
aad51d4704
BINDINGS.md: Janet bindings supported version update ( #3083 )
преди 2 години
Jason Liang
20860e2ba0
Fix a link in the FAQ ( #3082 )
преди 2 години
Ray
5ef50ae139
REVIEWED: `ImageRotate()` formatting
преди 2 години
LuraMoth
144ae120ab
Add new file formats to FAQ ( #3079 )
I noticed some file formats from the new release of raylib were missing so I decided to help out and update it!
преди 2 години
Dane Madsen
e465ed0850
Added ImageRotate ( #3078 )
* Added ImageRotate
* Quick rename of the example
* Update ImageRotate by changing doubles to floats and checking code convention
* Update API
преди 2 години
Ray
bf69b38056
Added security check to file reading (memory allocations)
преди 2 години
Ray
2937f2010c
Review coding conventions
преди 2 години
Dane Madsen
a4a6d4da8a
Add GenImageGradientSquare ( #3077 )
* Add GenImageGradientSquare to allow square gradients
* Fix GenImageGradientSquare and add to textures_image_generation example
* Remove params from GenImageGradientSquare
преди 2 години
Ray
84ae26cdc0
Update raylib.h
преди 2 години
Dane Madsen
e96dc46d38
Replaced GenImageGradientH and GenImageGradientV with GenImageLinearGradient ( #3074 )
* Replaced GenImageGradientH and GenImageGradientV with GenImageLinearGradient
* renamed GenImageLinearGradient to GenImageGradientLinear
преди 2 години
Ray
1b4634702c
Minor tweak
преди 2 години
Ray
3a841ac130
REVIEWED: `GenImagePerlinNoise()`, clamp values #3071
преди 2 години
Ray
f31df7521a
REVIEWED: `GenImagePerlinNoise()`, no change
преди 2 години
Ray
51387dfbfb
tweak
преди 2 години
Ray
a3e78c5453
Update README.md
преди 2 години
Ray
fe6973a4f6
Update README.md
преди 2 години
Ray
76e39e502c
Update rtextures.c
преди 2 години
Ray
3a3e672804
UPDATE: miniaudio v0.11.12 --> v0.11.16
преди 2 години
Ray
c3f049fd74
review formatting
преди 2 години
Le Juez Victor
675efbda3b
Fix Android app freeze after calling CloseWindow() ( #3067 )
Fixed that the Android application was not closed properly after calling `CloseWindow()` and continued to run.
преди 2 години
Ray
e17cf9ecd7
REVIEWED: Formating
преди 2 години
Pixel Phobic
3f8ef4e05f
Updated (rcamera) To Add Analog Stick Cam Controls ( #3066 )
I Noticed While Writing Some code for My Game im Making that there Isn't an Easy way to control the Camera With The Analog Sticks on Controller.
I Added a Couple Lines to the UpdateCamera Function :)
преди 2 години
Crynux
3438325e7d
Update rmodels.c; free fileData for LoadModelAnimationsGLTF ( #3065 )
fileData wasn't freed for LoadModelAnimationsGLTF causing a memory leak. Added UnloadFileData line, freeing it.
преди 2 години
Gamer-Kold
6b92d71ea1
Reverted commits that deprecated the build.zig files, and added a note to all of them stating version of zig they were using ( #3060 )
* Revert "Fixed broken build.zig files. Now works with latest stable compiler (as of commit, latest is 0.10.1) (#3045 )"
This reverts commit de748dfffe
so that zig
build script works with master branch of zig.
* Added a note to build.zig files that denotes what version of zig they have been tested with.
* Standardised the note in the build.zig files
преди 2 години
hamyy
26a3536958
GetCurrentMonitor() bugfix ( #3058 )
* GetCurrentMonitor() bugfix
* GetCurrentMonitor() bugfix
преди 2 години
lesleyrs
818312683e
update cmake example project ( #3062 )
* update cmake example project
* off is the correct one
преди 2 години
Michael Scherbakow
cc17a7656c
Update build.zig be be able to build with current zig master ( #3064 )
преди 2 години
JupiterRider
5978358e58
Update BINDINGS.md ( #3053 )
преди 2 години
Ray
452e3b494c
REVIEWED: `GetCollisionRec()`
преди 2 години
manuel5975p
af4b97a301
Update GetCollisionRec ( #3052 )
* Update rshapes.c
Add a much more efficient GetCollisionRec implementation
* Update GetCollisionRec
Replace macros with ternary operators
преди 2 години
Ray
152262dbfc
Update cgltf.h
преди 2 години
Ray
fe595d60f7
Remove trailing spaces
преди 2 години
Kenta
81e2c97095
Update BINDINGS.md ( #3050 )
Update C3 binding to use Raylib version 4.5
преди 2 години
Shoozza
204c6765bd
Fix vs code project ( #3048 )
* Modify remove trailing whitespace
* Fix invalid SetCameraMode call and missing argument to UpdateCamera for VSCode project
преди 2 години
Scott Helvick
05e71f990c
Version bump for CL bindings ( #3049 )
преди 2 години
Alfred Reinold Baudisch
53b7b26c45
Added ModelAnimation.name, initially with GLTF animation names loaded ( #3044 )
преди 2 години
Gamer-Kold
de748dfffe
Fixed broken build.zig files. Now works with latest stable compiler (as of commit, latest is 0.10.1) ( #3045 )
Co-authored-by: Talha Qamar <qamartalha@proton.me>
преди 2 години
Ray
5573f0f1c7
REVIEWED: Ligthmap example
преди 2 години
Jussi Viitala
abcbd9817e
Lightmap example. ( #3043 )
преди 2 години
Ray
a48bb6e1ed
ADDED: Comment to clarify raymath semantics
преди 2 години
Ray
fc56940055
REVIEWED: `ExportDataAsCode()`
преди 2 години