Joecheong2006
10fadd9185
Replaced scalar to float
2 месяцев назад
Joecheong2006
b6ae5af4e3
Removed redefined RAD and DEG
2 месяцев назад
Joecheong2006
8a0ab163d3
Changed to 4 spaces
2 месяцев назад
JoeCheong
f3854cb406
Fixed typo
2 месяцев назад
Joecheong2006
f1714a6234
[examples]: New shapes example - double pendulum
2 месяцев назад
PanicTitan
9e908e4a76
Update core_custom_frame_control.c to work properly on web
3 месяцев назад
Jordan Zedeck
e91a3697ff
Fixed typo
3 месяцев назад
sir-irk
ed509193d9
remving w multiply on the tangent itself
3 месяцев назад
sir-irk
f86295732a
fixing shader tangents to be vec4
3 месяцев назад
Ray
8a3a8ee8e3
Update shapes_digital_clock.c
4 месяцев назад
Ray
5f497d0687
REVIEWED: `shapes_digital_clock` example
4 месяцев назад
Hamza RAHAL
3f228f4594
[examples] : adding new fancy clock
4 месяцев назад
Meowster
6d5aedbd38
Add DrawEllipseV and DrawEllipseLinesV
4 месяцев назад
Pivok
0ffc8c517f
Pbr example fix
5 месяцев назад
Daniel Abbott
696f225f29
Update audio_sound_positioning.c
Calculate `right` Vector3 for correct audio stereo positioning.
5 месяцев назад
Zean Key
77f31178ed
fixed text_draw_3d
5 месяцев назад
Ray
cf1713e6dd
REVIEWED: VS2022 projects use a custom resource file...
...instead of relying in src/raylib provided one. #4900
6 месяцев назад
Zean Key
869ae8bbd2
[example] fix text size in text_draw_3d
6 месяцев назад
Jeffery Myers
eb3d96a36a
Fix cast warnings in examples.
6 месяцев назад
Ray
cc5739a6d7
REVIEWED: Some PRs formating
6 месяцев назад
Bigfoot71
59dc53d20e
update readme
6 месяцев назад
Bigfoot71
d5733ffb9a
update example makefiles
6 месяцев назад
Bigfoot71
a554ef339b
add `audio_sound_positionning` example
6 месяцев назад
luis605
4960cc74e0
[examples] Reviewed shader view depth
6 месяцев назад
Ray
ceb1a5ea2b
REVIEWED: Temporaly fix for issue #4874
6 месяцев назад
Jonathan Marler
f19d4c71ab
core_window_flags example: add borderless windowed toggle
6 месяцев назад
Jonathan Marler
336fd78f74
Add core_highdpi example
This example enables HIGHDPI and renders a scale showing how the logical
size compares to the pixel size of the window.
6 месяцев назад
Jonathan Marler
00fb09cebf
Prevent immediate window restore from minimize in core_window_flags
The core_window_flags example automatically restores the window from
being minimized after 3 seconds. However, it only resets the frameCounter
if the window is minimized through the app from inputting KEY_N. This
means if you miminize the window by other means (like pressing the minimize
button) then the example will immediately restore the window because the
frame counter wasn't reset. I've fixed this by setting the frameCounter
back to 0 once it's expired. I also added a note in the UI that the example
automatically restores the window so it's not a surprise.
6 месяцев назад
Jonathan Marler
8749ba9ebf
Uncomment SetTargetFPS in core_window_flags
I think this line was accidently commented out in this commit:
3d1ae3500c
The FPS limit is needed to get the desired wait time for the "hide window"
test, which uses the frame counter to hide the window for 3 seconds. On
my machine without this limit it runs at over 1000 FPS and it appears
like the hide window state is broken.
I also added some text that tells the user that it only hides the window
for 3 seconds so they're not surprised when the window automatically
reappears.
6 месяцев назад
luis605
8ec52e3b25
Added example to build system
6 месяцев назад
luis605
eeda7a4b82
Added shaders_view_depth example to the build system
6 месяцев назад
luis605
e08fc8ab80
Added new example - [shader] render depth texture
6 месяцев назад
Jonathan Marler
611c43719f
Avoid divide by 0 in core_custom_frame_control example
6 месяцев назад
Jonathan Marler
ac17de5074
[build] remove examples/build.zig, incorporate into main build.zig
Removes the second build.zig in the examples directory and incorporates it
into the main build.zig. This gives the zig build system the data needed to
know if the raylib library needs to be rebuilt when running any example.
6 месяцев назад
Fabrizio Pietrucci
e140aca1b5
Increase zoom factor in `core_2d_camera.c`
This compensate for slower zoom speed due to log scaling
7 месяцев назад
Fabrizio Pietrucci
8b84c999d2
Use logarithmic zoom scaling in 2d camera zoom examples
7 месяцев назад
Aidon
513753c394
Converting int to char
Fixes warning: narrowing conversion caused by trying to convert int to unsigned char
7 месяцев назад
Amy Wilder
61a026f7ef
[examples] Reorganize some conditions to fix overlap bugs ( #4829 )
* Reorganize some conditions to fix overlap bugs
* Fix edge case where control point selection outlives mouse down
7 месяцев назад
sleeptightAnsiC
f430d72a8c
[examples] fix: use quotation marks when including raylib.h ( #4821 )
...so it will always prioritize local version of raylib instead of
system-wide installations, which is a huge problem when testing any
changes done locally to raylib as it might cause silent mismatch issues.
There were only 4 examples affected by this issue which were using
`#include <raylib.h>`. Other examples use proper `#include "raylib.h"`
Fixes: https://github.com/raysan5/raylib/issues/4820
7 месяцев назад
Ray
557d071fa2
Reviewed shader loading message
7 месяцев назад
jordan4ibanez
7cae259a6d
Reviewed shaders comment wording ( #4793 )
7 месяцев назад
Destructor17
27af359d1c
[rlgl] Preserve texture on mode switching ( #4364 )
* Fix textures on draw mode switch
* formatting fix
* ident
7 месяцев назад
Ray
256953957f
Update Makefile
7 месяцев назад
Jay Rhoden
015ab9df18
Amend comment to explain what LoadCodepoints is doing. ( #4787 )
As a beginner, it was not clear to me what the purpose of the LoadCodepoints function is. I am trying to help past me.
7 месяцев назад
Colleague Riley
c34ef35433
Update RGFW and ensure it's consistent with the GLFW backend ( #4783 )
* add PLATFORM_WEB_RGFW
* fix some bugs
* fix web_rgfw gamepad
* send fake screensize
* fix gamepad bugs (linux) | add L3 + R3 (gamepad)
* fix?
* update RGFW (again)
* update raylib (merge)
* fix xinput stuff
* delete makefile added by mistake
* update RGFW
* update RGFW (rename joystick to gamepad to avoid misunderstandings
* update RGFW (fix X11 bug)
* update RGFW
* use RL_MALLOC for RGFW
* update RGFW (fixes xdnd bug)
* fix some formating
* Update RGFW
* update RGFW
* undo change
* undo change
* undo change
* undo change
* have .scroll be 0 by default
* update RGFW
* update RGFW
* update RGFW
* fix year
* fix wasm key event bug
* update RGFW
* link to IOKit
* update
7 месяцев назад
Thomas Anderson
a1de60f3ba
added missing file ( #4754 )
8 месяцев назад
Ray
861ebafe62
Update shaders_mesh_instancing.c
8 месяцев назад
Anstro Pleuton
7bfc8e8ca7
[example] Add shaders_rounded_rectangle example ( #4719 )
* Add shaders_rounded_rectangle example
* Minor tweaks to example template (add star, more)
* Combine shaders
* Fix changes after review
---------
Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
8 месяцев назад
Ray
2c50da9a6a
REVIEWED: -sASSERTIONS usage by linker #4717
8 месяцев назад
Anstro Pleuton
773e3f5f9f
Update more examples inconsistencies ( #4711 )
Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
9 месяцев назад