Ray
b0dcdf688f
Reviewed functions description
...
Replaced: Returns -> Get
2021-06-10 17:43:58 +02:00
Ray
d3387c952a
Reviewed Input variables and comments
2021-06-10 17:11:31 +02:00
Ray
3643974949
Corrected bug on enum
2021-06-10 11:38:02 +02:00
Ray
8980bcfe4b
Added some enum comments
2021-06-10 11:31:34 +02:00
Ray
97b074ac26
Update GLFW to latest version #1817
2021-06-08 21:02:24 +02:00
Ray
76a907bb79
Remove tabs
2021-06-08 21:01:17 +02:00
raysan5
246798a0ba
Update Makefile
2021-06-05 20:15:03 +02:00
raysan5
e95d8bc655
Minor format tweaks
2021-06-05 12:33:05 +02:00
raysan5
6445200a93
Removed GetAudioStreamBufferSizeDefault()
2021-06-05 12:32:52 +02:00
Ray
e00d2439b9
WARNING: BREAKING: Consistency renamings
...
RENAMED: InitAudioStream() -> LoadAudioStream()
RENAMED: CloseAudioStream() -> UnloadAudioStream()
2021-06-03 23:36:47 +02:00
Ray
121c689b78
Review code formatting
2021-06-03 20:25:28 +02:00
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>
2021-06-03 20:15:27 +02:00
isaac553876299
d1ac38171c
Update raymath.h ( #1802 )
2021-06-01 17:00:40 +02:00
Marco G. Maia
1a7dace57e
Update docs for supported blend modes ( #1801 )
2021-06-01 15:00:19 +02:00
Ray
0870295a7c
RENAMED: enum Gestures -> Gesture
...
Consistency tweak
2021-05-31 20:40:27 +02:00
Ray
5e3cf28642
Update raudio.c
2021-05-31 19:32:48 +02:00
Ray
8f4261e9d4
Remove unused declarations
2021-05-31 12:58:49 +02:00
Ray
2760304d66
Update CMakeLists.txt
2021-05-31 12:27:26 +02:00
Ray
9bd3d78374
WARNING: Moved some **extra** raylib libraries to /extras/ directory
2021-05-31 11:43:56 +02:00
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-
2021-05-31 11:41:56 +02:00
Ray
7bcb2ad4f1
Update uwp_events.h
2021-05-31 11:39:20 +02:00
Ray
89e734de6b
Review config flags #1784
2021-05-30 22:31:14 +02:00
Julianiolo
cc4de1d1f9
note ( #1797 )
2021-05-30 18:33:38 +02:00
Ray
71995d52b3
REVIEWED: exit() on LOG_FATAL instead of LOG_ERROR #1796
2021-05-30 18:02:06 +02:00
Ray
0369ec9adf
Some code tweaks
2021-05-30 11:50:32 +02:00
Ray
c828e481fb
Review code format
2021-05-29 13:56:08 +02:00
Ray
e3ba11bead
Review some comments
2021-05-29 13:54:05 +02:00
Hristo Stamenov
beeac18eb1
Fix QuaternionToMatrix returning transposed result. ( #1793 )
2021-05-29 13:53:00 +02:00
Hristo Stamenov
470574517a
Implement vertex color attribute for GLTF and IQM ( #1790 )
...
Added a simple cube with vertex colors for testing both.
2021-05-26 20:23:13 +02:00
Ray
7959d95db0
Review raylib structs comments
2021-05-25 23:19:03 +02:00
Ray
9f45fea31e
Remove line break in DrawTextRecEx()
2021-05-25 11:59:34 +02:00
Ray
03710c9d8e
Some code tweaks for consistency
2021-05-22 16:54:04 +02:00
Ray
cb698dd37d
Update Makefile
2021-05-22 16:51:51 +02:00
Ray
5765b7895c
Minor comments tweaks
2021-05-22 14:35:10 +02:00
raysan5
60ca8acd0a
Update version to 3.8-dev to note breaking changes
...
Some breaking changes were introduced lately, it's better to note that current version is not 3.7 anymore...
2021-05-21 22:59:00 +02:00
Ray
4a099c3658
Review ExportImage() to use SaveFileData() #1779
2021-05-20 20:37:46 +02:00
Ray
23a08a483e
WARNING: RENAMED: IsMusicPlaying() -> IsMusicStreamPlaying()
2021-05-20 19:27:04 +02:00
Ray
f33cec64aa
Use output->boneCount instead of nodes_count
2021-05-20 19:25:09 +02:00
Ray
e401d5c48e
WARNING: RENAMED: MeshBoundingBox() -> GetMeshBoundingBox()
...
Renamed for consistency with other function in raylib.
2021-05-20 19:24:28 +02:00
Ray
9360e4e2c1
Comment minor tweak
2021-05-20 19:14:42 +02:00
Guillaume DEVOILLE
b90ac7bd31
Fixed over-allocation of buffer ( #1772 )
...
output->framePoses[frame] is over-allocated.
framePoses is a 2D array:
- first dimension: frames (allocated l. 4717)
- second dimension: nodes (allocated l. 4731)
Second dimension should be allocated of nodes_count transformations only.
2021-05-15 00:41:33 +02:00
Ray
232378ed2d
Merge branch 'master' of https://github.com/raysan5/raylib
2021-05-14 14:01:51 +02:00
Ray
3baba7ffe8
Review some VS warnings and messages
2021-05-14 14:01:42 +02:00
Guillaume DEVOILLE
45b0dc63cd
Fixed GLTF boneWeights uint32 loading ( #1768 )
...
boneWeights uint32 were loaded in normals instead of boneWeights.
2021-05-13 13:58:51 +02:00
Ray
6c56fe2670
Update shell.html
2021-05-12 19:51:29 +02:00
Ray
6bd63de8d0
Reviewed latest PR
...
REMOVED: DrawBillboardEx()
2021-05-11 01:02:53 +02:00
nobytesgiven
ac204a11f7
Redesigned billboards - added rotation/pro functions ( #1759 )
...
* Redesigned billboards - added rotation/pro functions
* updated parameters
Co-authored-by: nobytesgiven <nobytesigiven@github.com>
2021-05-11 00:55:43 +02:00
Lambert Wang
e39e45824d
Add RenderPolyLinesEx routine ( #1758 )
...
Co-authored-by: Lambert Wang <lambert.ww@gmail.com>
2021-05-10 20:08:58 +02:00
ProphesorIks
1d0767022d
~Updated project version ( #1761 )
...
Updated to fix versioning and linking issues.
Old version would cause examples to not be linked on fresh raylib install or linked with an old library version on updated raylib install.
2021-05-10 00:51:37 +02:00
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>
2021-05-08 18:26:24 +02:00
Antonio Jose Ramos Marquez
2565c01158
check for vao extension ( #1757 )
2021-05-08 18:24:14 +02:00
Jeffery Myers
133e6f097d
Convert the half sleep to a sleep that is a fraction of the target FPS (Default 95%) to reduce CPU use. ( #1756 )
...
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
2021-05-07 19:49:44 +02:00
Ray
b62c86572e
REVIEWED: raudio_standalone #1752
2021-05-07 15:38:13 +02:00
Astie Teddy
c82d9cb89a
Unset CORE.Window.ready on CloseWindow ( #1749 )
...
Window shouldn't be considered ready when CloseWindow has been called.
2021-05-05 19:08:15 +02:00
Ray
a41ed986bd
Expose RAYLIB_VERSION in raylib.h #1747
2021-05-04 11:20:47 +02:00
Ray
e5708a8f36
Comment tweak
2021-05-03 19:05:53 +02:00
Ray
2015828fc6
Security check in case of not valid font
2021-05-03 19:05:43 +02:00
Ray
a3e7664dcf
Fixed bug that overrides other flags
...
This issue prevented enabling MSAA on several platforms
2021-04-29 00:07:28 +02:00
Ray
ffadeeeb84
Decoupling rlgl from platform layer
...
Now rlgl only depends on OpenGL and it's completely decoupled from platform layer libraries (EGL)
2021-04-28 23:57:46 +02:00
Ray
f516f4099b
Corrected issue #1742
2021-04-28 19:27:50 +02:00
Ray
a113d3326b
Disable raylib code
2021-04-27 23:12:04 +02:00
Rabia Alhaffar
399894ac90
Fixed definition of UNCOMPRESSED_R8G8B8A8 ( #1740 )
2021-04-27 20:17:47 +02:00
Ray
6ebe76cba7
Minor tweaks
2021-04-27 11:05:05 +02:00
Ray
1aa8a4ff90
REVIEWED: rlLoadExtensions()
...
On PLATFORM_ANDROID, PLATFORM_RPI, PLATFORM_DRM and PLATFORM_UWP glfwGetProcAddress() is not defines, actually those platforms use egl platform windowing system.
2021-04-27 11:04:48 +02:00
Ray
bb33033389
Merge branch 'master' of https://github.com/raysan5/raylib
2021-04-26 00:36:22 +02:00
Ray
a44815e939
REMOVED: GenMeshDefault()
2021-04-26 00:36:13 +02:00
raysan5
0e2845ec26
Review OpenGL 1.1 building #1732
...
It works compiling with MinGW
2021-04-25 13:32:24 +02:00
Ray
7ad17386f6
Update raylib.h
2021-04-23 17:24:25 +02:00
Ray
03815ec4fe
RPI4: Improve DRM card check #1723
2021-04-22 21:01:48 +02:00
Ray
dcf52c132f
Remove trail spaces
2021-04-22 18:55:24 +02:00
Ray
ac79d22a9b
Reviewed file comments
2021-04-21 00:41:55 +02:00
Ray
1e65817d05
Update models.c
2021-04-20 12:19:04 +02:00
Ray
bb743e8c6e
ADDED: UpdateMeshBuffer()
2021-04-20 12:16:16 +02:00
Ray
63a1bf373c
Merge branch 'master' of https://github.com/raysan5/raylib
2021-04-19 19:41:41 +02:00
Ray
899afcbdca
Minor tweaks
2021-04-19 19:41:32 +02:00
nathants
1c45a882f7
use bone weights for animation ( #1728 )
2021-04-19 18:26:40 +02:00
Ray
581bd0eb02
Remove trailing spaces
2021-04-18 23:50:32 +02:00
Ray
223091f44c
Review extensions issue on macOS
2021-04-18 20:33:49 +02:00
Ray
d4ccca81db
WARNING: REDESIGNED: rlLoadExtensions() #1295
...
Added config flag: SUPPORT_GL_DETAILS_INFO
2021-04-18 20:24:19 +02:00
Ray
640fc4d0a0
Minor tweaks
2021-04-16 21:19:28 +02:00
Ray
45823a36eb
Added some OpenGL extensions comments
2021-04-14 21:07:04 +02:00
Ray
37f523fdeb
Update external libraries
2021-04-14 21:06:00 +02:00
Ray
d289085ce3
Reviewed DrawLine3D() limits #1721
2021-04-13 01:08:39 +02:00
Ray
06f16f199a
REVIEWED: DrawLine3D() #1721
...
Increased batch limit check to compensate internal buffers alignment for lines drawing
2021-04-13 00:05:21 +02:00
Ray
afb254b985
Update rlgl.h
2021-04-11 00:58:04 +02:00
Ray
d2cb628a66
Some defines simplification
2021-04-11 00:55:45 +02:00
Jon
c74230a9ea
Enable DRM platform cross compilation support ( #1717 )
...
* Log a warning if chdir failed, use agnostic CHDIR instead of chdir
* Only include libdrm directory explicitly when not cross compiling
2021-04-09 19:57:14 +02:00
Jeffery Myers
f6f9a3d925
use xm streams in the same sample sample size as the output device ( #1716 )
2021-04-09 11:00:21 +02:00
Chris
3cdac3e11e
Fix off by one bug with GetGamepadAxisCount on PLATFORM_DESKTOP ( #1715 )
...
- Found testing core_input_gamepad. The last axis was not drawn.
- GLFW_GAMEPAD_AXIS_LAST is defined to the last axis which is 5
not the total number which is 6.
2021-04-09 00:55:47 +02:00
Ray
8a8948780e
REVIEWED: GetKeyPressed() #1712
2021-04-09 00:21:56 +02:00
Ray
49e17044c9
Update resource files
2021-04-09 00:20:43 +02:00
Ray
6719c3a1cd
REVIEWED: OpenGL 2.1 compilation
2021-04-07 09:39:41 +02:00
Ergoold
85ef9d8f2e
Fix ImageClearBackground ( #1711 )
...
- Dividing by height instead of width results in missing parts of the image.
2021-04-07 00:02:37 +02:00
Ray
b3f75b91ff
REDESIGNED: Vr stereo mode
2021-04-06 23:23:03 +02:00
Ray
84d0d21f23
Reviewed Vr stereo
2021-04-06 23:06:03 +02:00
Ray
71b86bf4d0
REDESIGNED: Vr stereo rendering
2021-04-06 22:49:41 +02:00
Saikyun
fd663024ea
added import in order for alloca to work on macos ( #1710 )
2021-04-06 21:42:00 +02:00
Ray
6d3c66a179
Merge branch 'master' of https://github.com/raysan5/raylib
2021-04-06 21:40:05 +02:00
Ray
68124599e1
Corrected issue on RPI
2021-04-06 21:39:54 +02:00
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>
2021-04-06 14:29:58 +02:00
Ray
109d00cb14
Reorganized shaders functions
2021-04-06 13:10:12 +02:00
Ray
551944e15b
Minor comment tweaks
2021-04-06 13:04:15 +02:00
Ray
0a34a35403
Update miniaudio.h
2021-04-06 11:57:51 +02:00
Ray
802ca161d3
REVIEWED: Some rlgl cleaning on unused types
2021-04-06 00:43:38 +02:00
raysan5
a8dd4127f3
Added security check to avoid internal render batch overflow
2021-04-05 13:59:52 +02:00
raysan5
0e04ae561e
Merge branch 'master' of https://github.com/raysan5/raylib
2021-04-05 13:48:03 +02:00
raysan5
7b37caa96c
REVIEWED: Model scale #1700
2021-04-05 13:47:52 +02:00
m4ntr0n1c
abf481023b
Update to the xm player routine and support functionalities ( #1701 )
...
* Update jar_xm.h
Major bug fixes and refactoring
* Update jar_xm.h
update to version 0.31
2021-04-05 13:46:09 +02:00
raysan5
c2c141f941
Update version to raylib 3.7
2021-04-05 13:36:23 +02:00
raysan5
b52cd8f605
Reorganized functions by module
2021-04-05 13:35:59 +02:00
raysan5
5fd441969d
REVIEWED: rlLoadShaderDefault()
...
Operate over global variable
2021-04-05 13:35:42 +02:00
raysan5
14aa29d18b
Update rlgl.h
2021-04-04 15:10:39 +02:00
raysan5
4c9d2e719e
Merge branch 'master' of https://github.com/raysan5/raylib
2021-04-04 14:59:29 +02:00
raysan5
66f3434571
REDESIGNED: Shapes texture/rec moved to shapes module
2021-04-04 14:59:17 +02:00
Rob Loach
d58b7b509e
Make SaveFile* callbacks return a boolean ( #1697 )
2021-04-03 08:56:42 +02:00
raysan5
c21baf0d92
ADDED: GenMeshDefault() #1556
2021-04-02 15:56:35 +02:00
raysan5
ccdf7ff335
REDESIGN: Move GenTexture*() functions to PBR example #721
...
Removed functions from rlgl module.
2021-04-02 14:29:33 +02:00
raysan5
67dda62867
REVIEWED: GenTexture*() functions #721
...
Avoid RLGL data dependency to allow moving the functions somewhere else
2021-04-02 14:01:30 +02:00
raysan5
7e2531fe35
REVIEWED: ToggleFullscreen() on web #1241
...
After some investigation, I came to the conclusion it's impossible to get a solution that works for all situations. Fullscreen mode on web depends on the browser, the canvas and also the desired scaling strategy of the user. Just choose a solution that fits me needs for now and let the user manage the canvas on their webs (hopefully not requiring ToggleFullscreen() call).
Also removed several useless related callbacks.
2021-04-02 13:46:56 +02:00
raysan5
38df0760cc
Review compress/decompress logs
2021-04-02 13:43:10 +02:00
raysan5
d64f27bad1
Remove old flag
2021-04-02 13:42:07 +02:00
raysan5
2b6e7c8632
Update Makefile
2021-04-02 13:41:54 +02:00
raysan5
b54d96205f
Review libc dependency
2021-04-01 21:22:18 +02:00
raysan5
aed0fee2ca
Remove trailing spaces
2021-04-01 20:24:33 +02:00
raysan5
b4975619ed
Review comments
2021-04-01 20:23:05 +02:00
raysan5
cdc3754449
ADDED: Support model normal matrix location #1691
2021-03-31 20:44:16 +02:00
raysan5
2488d361b6
Review formatting
2021-03-31 20:15:04 +02:00
raysan5
c772de702b
REVIEWED: DrawMeshInstanced() matrix computations
...
Simplified some parts and reviewed for a correct computation of matrices, considering stereo render view/projection per eye transformations
2021-03-31 19:59:23 +02:00
raysan5
434a3a276d
REVIEWED: Define instancing API entry points for RPI
2021-03-31 18:41:03 +02:00
raysan5
8e51e6d1df
REVIEWED: CheckCollisionPointLine()
...
Use fabsf() instead of abs()
2021-03-31 18:40:33 +02:00
raysan5
fd3e2fda00
RENAMED: example: shaders_mesh_instancing
...
shaders_rlgl_mesh_instanced -> shaders_mesh_instancing
2021-03-31 18:40:04 +02:00
raysan5
8f1d81df0f
Review code formatting
2021-03-31 17:55:46 +02:00
mkupiec1
3d1a05d588
[shapes] CheckCollisionPointTriangle (fix), CheckCollisionPointLine (new routine) ( #1695 )
...
* CheckCollisionPointTriangle
* New feature proposal to existing collision detection routines.
It checks if point [point] belongs to line created between two points [p1] and [p2] with defined margin in pixels[threshold].
1693
2021-03-31 16:50:05 +02:00
raysan5
98a2e16d4d
REVIEWED: RPI instancing checks #1679
2021-03-31 16:44:14 +02:00
raysan5
b5aaf33058
Review matrix multiplication
2021-03-28 22:04:04 +02:00
raysan5
aaf0d8b839
REVIEWED: rlgl: Stereo render is working again
...
As a bonus, stereo render is compatible with mesh instancing now!
2021-03-28 21:35:58 +02:00
raysan5
6a24dd8945
REVIEWED: tinyobjloader #1568
2021-03-28 20:51:29 +02:00
raysan5
23a764190e
ADDED: LoadShaderFromMemory() #1690
2021-03-28 20:12:48 +02:00
raysan5
bc6b16beb2
REVIEWED: DrawTexturePoly()
2021-03-28 20:07:59 +02:00
Carlos Hernandez Barbera
7eaeffc8d9
GetCollisionRayMesh makes use of triangle count ( #1688 )
...
Co-authored-by: Carlos Hernandez Barbera <carloshdezbarbera@gmail.com>
2021-03-27 18:24:39 +01:00
Maksymilian Mika
f38ced15e7
Fixing pointer arithmetic to avoid error [-Werror=pointer-arith] ( #1685 )
2021-03-27 07:54:44 +01:00
Dan Bechard
b6ca524bdd
Preserve floating point values in DrawRectangleLinesEx ( #1683 )
2021-03-26 20:15:19 +01:00
Ray
f9bab14fdb
REVIEWED: DrawMeshInstanced()
2021-03-26 00:12:29 +01:00
Ray
fb9a437f8a
REVIEWED: OpenGL 1.1 working again
2021-03-25 20:35:48 +01:00
Ray
cba412cc31
WARNING: BREAKING: rlgl redesign -WIP-
...
rlgl module has been completely redesigned to move Mesh/Material structures to [models] module. Still some work to do, broken elements:
- [models] OpenGL 1.1 mesh rendering: DrawMesh()
- [models] Mesh Instancing: DrawMeshInstanced()
- [models] Stereo rendering: DrawMesh()
- [models] GL_FLOAT, GL_UNSIGNED_INT exposed
- [models] GenMeshCustom()
- [rlgl] GenTexture*() functions removal?
2021-03-25 14:28:12 +01:00
chriscamacho
9569d6a802
Add DrawTexturedPoly and example ( #1677 )
...
* adds DrawTexturedPoly with example
* the actual example ... ahem
* moved DrawTexturePoly to textures function and example
NB function name changed to fit with other DrawTextureXXX functions
(no "d" )
Co-authored-by: codifies <you@example.com>
2021-03-25 14:22:10 +01:00
Jeffery Myers
13f97471a2
Change the color of the FPS display if the FPS is low (orange for <30, red for < 15). ( #1676 )
...
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
2021-03-24 17:59:05 +01:00
Ray
bb73a8089a
Reviewed DrawFPS() comment
2021-03-24 17:06:32 +01:00
Ray
9bea64b5e4
REMOVED: DrawGizmo()
...
This is a very simple and specific implementation that should be better addressed by the users
2021-03-24 17:02:40 +01:00
Ray
9047025ab7
Update textures.c
2021-03-24 00:41:01 +01:00