Ray
3ae40c35e6
Update examples_template.c
3 лет назад
Francisco Javier Andrés Casas Barrientos
4dd5643402
Added missing null terminator ( #1820 )
Added missing null terminator when adding characters to the string, otherwise garbage values are read (often zeros which are equal to '\0', but not every time).
This error results in random characters appearing in the text box every one in a while:
```
asdfg??? ll??
```
It is corrected with the proposed fix.
This problem was observed by my student, Gonzalo Rivera Lazo.
3 лет назад
Ray
e00d2439b9
WARNING: BREAKING: Consistency renamings
RENAMED: InitAudioStream() -> LoadAudioStream()
RENAMED: CloseAudioStream() -> UnloadAudioStream()
3 лет назад
Ray
7e68e733f5
Update models_material_pbr.c
3 лет назад
Ray
0565fb9fb6
Update models_mesh_picking.c
3 лет назад
Ray
121c689b78
Review code formatting
3 лет назад
Crydsch
edeaff4bd4
Better collisions ( #1803 )
* review collisions ray-box and ray-sphere
* Applied raysan's refactor
Improved GetRayCollisionBox
* Replace GetRayCollisionGround with GetCollisionQuad
* Update example core_3d_picking
* Update example models_loading
* Fixed issues after merge
* remove debug stuff
Co-authored-by: Cry dsch <chris.obo@gmx.net>
3 лет назад
Ray
2370af598e
Reviewed example: core_split_screen
3 лет назад
Jeffery Myers
deaa84d28d
Add a split screen example showing render texture use and multiple cameras. ( #1806 )
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
3 лет назад
Ray
23398f0198
Update Makefile
3 лет назад
Ray
e991fefb89
Update Makefile
3 лет назад
Ray
d39d26f275
Update models_loading.c
3 лет назад
Ray
9cc2cee936
Update text_draw_3d.c
3 лет назад
Ray
b359a1575e
Update core_3d_picking.c
3 лет назад
Ray
1c5de9721a
WARNING: BREAKING: RENAMED: RayHitInfo to RayCollision #1781
- RENAMED: RayHitInfo to RayCollision
- RENAMED/REDESIGNED: Multiple Ray collision functions to be more consistent and return RayCollision data -WIP-
3 лет назад
Hristo Stamenov
470574517a
Implement vertex color attribute for GLTF and IQM ( #1790 )
Added a simple cube with vertex colors for testing both.
3 лет назад
Ray
1c7c8c682c
REVIEWED: models_skybox #1792 #1778
3 лет назад
Ray
b36422083e
Remove headers from shaders
3 лет назад
Ray
e401d5c48e
WARNING: RENAMED: MeshBoundingBox() -> GetMeshBoundingBox()
Renamed for consistency with other function in raylib.
3 лет назад
Ray
7b6b87ec5b
Update VS2019 project: rlgl_standalone
3 лет назад
Gianni Alessandroni
a84e98ba6c
Hotfix for smooth pixel-perfect camera example [core_2d_camera_smooth_pixelperfect.c] ( #1771 )
* Hotfix for glitchy camera
Super small fix that was causing the camera to glitch every x amount of seconds/pixels. Works much better now, 3/4 lines changed.
* fixed dumb visual studio formatting problems
3 лет назад
Gianni Alessandroni
4ab28fffb4
Added smooth pixel-perfect camera example + Small typo fix in examples_template.c ( #1760 )
* Typo fix
Changed "bsasic" to "basic" in the comments.
* Added pixel-perfect camera example
Added pixel-perfect camera example, both the .c file and the cover .png image. The example works with any resolution you want, as long as the ratio stays the same
(ex. 16:9, 4:3) ecc.
* Fixed Typecasts
Fixed compiler errors (implicit conversions)
* Precomputed rectangles, time-based movement and whitespace fix
Moved the source and destination rectangles for the renderTexture into their own variables, modified the animation to be time-based instead of frame-based, fixed the bug with whitespaces.
* Fixed spacing and added more consistency with sinf() and cosf()
* Fixed *= operator spacing
3 лет назад
Lambert Wang
e39e45824d
Add RenderPolyLinesEx routine ( #1758 )
Co-authored-by: Lambert Wang <lambert.ww@gmail.com>
3 лет назад
Lambert Wang
2545f62565
Added support for additional mouse buttons ( #1753 )
* Added support for additional mouse buttons
* Renamed mouse button enum
Co-authored-by: Lambert Wang <lambert.ww@gmail.com>
3 лет назад
Ray
b62c86572e
REVIEWED: raudio_standalone #1752
3 лет назад
Ray
c4eaf0076d
Update raylib version
3 лет назад
Jeffery Myers
b663724293
Generate a mesh in client code. ( #1735 )
3 лет назад
Jeffery Myers
6c518008a5
Fixes for 64 bit typecast warnings ( #1733 )
3 лет назад
Ray
f4abc05d62
Update README.md
3 лет назад
Ray
8a55c60e47
Update shaders_mesh_instancing.c
3 лет назад
Ray
dcf52c132f
Remove trail spaces
3 лет назад
Ray
1161df0ee4
Added screenshots
3 лет назад
Ray
715a46277e
Update README.md
3 лет назад
Ray
5ef777219a
Reviewed templates Makefiles
3 лет назад
Stephan Soller
93d3212914
[examples] Added an example for raylib OpenGL interop ( #1726 )
* Added an example for raylib OpenGL interop.
* Removed C99 variable-length array to fix MSVC errors
* Moved the opengl interop example from shaders to others.
3 лет назад
Stephan Soller
7f1068ef96
Added zoom independent sharp edges to the SDF text example. ( #1727 )
3 лет назад
noloop
8453ff837b
Fix old directories used and windows/linux portability ( #1722 )
* Fix olds directories used and windows/linux portability
* Fix windows/linux portability
3 лет назад
Ray
d7b6505f64
Update Makefile
4 лет назад
Ray
45c964c1e6
Update core_vr_simulator.c
4 лет назад
Ray
bafa13f207
Update core_vr_simulator.c
4 лет назад
Ray
bdc5686e4c
Update shaders_julia_set.c
4 лет назад
Ray
ed96bc6441
Update core_vr_simulator.c
4 лет назад
Ray
b3f75b91ff
REDESIGNED: Vr stereo mode
4 лет назад
Ray
84d0d21f23
Reviewed Vr stereo
4 лет назад
Ray
71b86bf4d0
REDESIGNED: Vr stereo rendering
4 лет назад
frithrah
b2545e053a
Minimum number of segments in circle sector functions changed from hard-coded to based on degree range. ( #1707 )
Co-authored-by: Simon <simon@frithrah.com>
4 лет назад
raysan5
46650b5fb1
Reviewed skybox and pbr examples
4 лет назад
raysan5
51f3129c5d
Reviewed examples
4 лет назад
raysan5
ccdf7ff335
REDESIGN: Move GenTexture*() functions to PBR example #721
Removed functions from rlgl module.
4 лет назад
raysan5
736d5920c7
Update core_input_gamepad.c
4 лет назад