HarriP
3cb4ef2599
Fix inverse length in Vector2Normalize ( #2189 )
...
Following the pattern in Vector3Normalize.
2021-12-06 19:07:05 +01:00
Steven Schveighoffer
fa7337e19c
Vector2Angle returns degrees instead of radians, but all other raymath ( #2193 )
...
functions use radians, making this awkward to use.
2021-12-06 19:05:28 +01:00
Ray
c5eaaed873
Update Makefile
2021-12-06 12:09:44 +01:00
Ray
c4a62ca1e4
ADDED: Modules info at initialization
2021-12-06 12:02:57 +01:00
Ray
e637ad9d2a
Support custom modules inclusion
...
Allow to choose which modules are compiled with raylib, if some modules are excluded from compilation, required functionality is not available but smaller builds are possible.
2021-12-04 19:56:02 +01:00
Ray
930941e85e
Added a couple of notes
2021-12-03 00:30:27 +01:00
raysan5
ba8c73a327
Added some reference code to load bones id and weight data for animations
2021-12-02 20:48:12 +01:00
raysan5
59c4facd90
Disabled QOI image format
2021-12-01 20:56:39 +01:00
Ray
d1b8d4f2c7
REVIEWED: Updated QOI to first official release
2021-11-28 01:22:56 +01:00
Anders Holmberg
71f2e2b1e4
Add macos support to zig build system ( #2175 )
2021-11-27 10:46:18 +01:00
Ray
2b2141902b
ADDED: Support for QOI image format
2021-11-27 10:35:00 +01:00
Ray
9088135b49
REVIEWED: Formating and comments
2021-11-25 01:07:54 +01:00
Arnaud Valensi
b248a00c90
Fix scissor on macos ( #2170 )
...
* Expose GetRenderWidth and GetRenderHeight functions
* Fix scissor on macos
* Fix typo
2021-11-25 01:03:20 +01:00
Novaleaf
c5fc7c7640
allow physac to be built as a shared library ( #2168 )
...
if `BUILD_LIBTYPE_SHARED` is defined allow build as a shared dll
2021-11-23 22:21:01 +01:00
めぐみ発動機 (isVowel / GreenWing)
924b1c7b0c
fixed typo: aproximation to approximation ( #2164 )
2021-11-21 18:06:52 +01:00
めぐみ発動機 (isVowel / GreenWing)
478b70e53e
fixed typo: aproximation to approximation ( #2163 )
2021-11-21 18:06:20 +01:00
raysan5
7755cd0019
Tweak to minimize buffer overflow possibility
2021-11-18 10:25:28 +01:00
WilledgeR
e24443bbbc
Fixes CC while compiling for ANDROID_ARCH x86 ( #2148 )
...
* Override CC while compiling for ANDROID_ARCH x86
* REfix Override CC while compiling
2021-11-17 20:45:07 +01:00
raysan5
03f55d8f9e
Minor tweaks
2021-11-17 13:36:28 +01:00
Ray
be371ebf99
REVIEWED: LoadTextureFromImage()
...
Allow texture loading with no data transfer (in case image.data = NULL)
2021-11-15 11:41:05 +01:00
Ray
b7bf220598
REVIEWED: rlUpdateTexture()
2021-11-15 10:25:24 +01:00
Ray
5a6aa52a7c
REVIEWED: ExportMesh() #2138
2021-11-15 10:14:00 +01:00
Ray
2c38dad214
Merge branch 'master' of https://github.com/raysan5/raylib
2021-11-11 18:26:28 +01:00
Ray
c8f029dba9
Expose MAX_KEYBOARD_KEYS and MAX_MOUSE_BUTTONS #2127
2021-11-11 18:26:25 +01:00
lib-omar
91135c8799
Fixed file/alloc limitation in GetDirectoryFiles() ( #2126 )
...
MAX_DIRECTORY_FILES macro removed.
ClearDirectoryFiles() tweaked to reflect changes.
2021-11-10 19:52:30 +01:00
Ray
da7e0ba9d9
ouch
2021-11-10 13:37:50 +01:00
Ray
c82390e3f1
Reviewed descriptions and notes
2021-11-10 13:31:42 +01:00
Ray
4853082a4f
REVIEWED: DrawRectanglePro(), support TRIANGLES drawing
2021-11-10 13:28:43 +01:00
Ray
f6180efd35
REVIEWED: CheckCollision*() consistency
2021-11-10 13:28:05 +01:00
Ray
7158c80448
tweak
2021-11-10 13:26:50 +01:00
Uneven Prankster
35cbacc68b
Allow GL4.3 capabilities to be shown ( #2124 )
...
Now that 4.3 was added this can be enabled with the compile flag.
2021-11-09 15:24:39 +01:00
Ray
14e4992d73
REVIEWED: rlGetCompressedFormatName()
2021-11-09 11:53:18 +01:00
Ray
21ec8c38ae
Review variables initialization
...
- All variables are initialized on declaration, some arrays were not properly initialized
- Static array buffers require memset() for re-initialization on every function call
2021-11-09 11:49:03 +01:00
Luke Krasnoff
8ec5b2dc2f
Protect TextIsEqual from NULLs ( #2121 )
2021-11-09 11:37:55 +01:00
KonPet
34f9f51835
Fix Render Batch Limit not being checked in DrawRectangleGradientEx() ( #2111 )
2021-11-07 11:50:15 +01:00
raysan5
7f4ae653f3
Review display output order
2021-11-03 13:24:56 +01:00
raysan5
703df42586
Avoid duplicate output info on PLATFORM_RPI
2021-11-03 12:55:46 +01:00
Ray
5e3db0aa83
Updated some scripts paths
...
NOTE: New raylib release installer uses `w64devkit`, smaller and more updated than regular `mingw64-w64` default project. Paths are updated properly.
2021-11-02 18:40:45 +01:00
Ray
e930ad3102
Reviewed spelling mistake
2021-11-01 23:06:26 +01:00
Ray
2fe488a71c
Update version in CMake
2021-11-01 23:05:23 +01:00
raysan5
70a2118c49
REMOVED: rnet.h
...
It was not working properly... recommended to use `nbnet` instead.
2021-11-01 20:08:14 +01:00
raysan5
b02e737074
Update raygui.h
2021-11-01 20:07:22 +01:00
raysan5
bba035c20c
Minor type tweak
2021-11-01 19:14:55 +01:00
Ray
8c0f9c7f5a
Update miniaudio.h
2021-11-01 11:37:47 +01:00
Ray
8abba960c7
Review comments
2021-11-01 11:26:13 +01:00
Ray
8649032428
Update comment
2021-11-01 01:08:55 +01:00
Ray
1fac09d0f4
REVIEWED: example: Compute shader Game-of-life
2021-10-31 12:28:04 +01:00
Ray
b7240d6a36
Update raygui.h
2021-10-27 11:25:24 +02:00
Ray
65076464d5
REVIEWED: KeyCallback()
...
Register keys independently of the actions
2021-10-26 22:27:18 +02:00
Ray
72758de6ea
Reviewed warnings
2021-10-26 22:26:28 +02:00
Ray
25642cff36
Update comments for OpenGL 4.3
2021-10-26 22:23:16 +02:00
Jeffery Myers
daeccd03ac
Fix VC warnings for examples ( #2085 )
2021-10-25 10:21:16 +02:00
Jeffery Myers
086f76ba7a
Fix warnings in raylib build ( #2084 )
2021-10-25 10:18:42 +02:00
mandar1jn
affb707dd9
fixing the library so the workflows compile ( #2082 )
2021-10-24 18:24:01 +02:00
TheSergey496
08441e8b2d
When one of the colliding lines is vertical or horizontal, not all collisions were correctly detected due to floating point error. ( #2081 )
2021-10-24 17:31:13 +02:00
raysan5
62965aa6d7
Comments tweaks
2021-10-23 14:17:26 +02:00
raysan5
04a4efb591
Added some comments on LoadGLTF()
2021-10-23 14:00:05 +02:00
raysan5
c4f0e80895
REVIEWED: Size of bones id supported, max 255 bones per mesh
2021-10-23 13:59:20 +02:00
raysan5
ebee8ba3bb
REVIEWED: LoadGLTF() #2075
2021-10-23 11:42:02 +02:00
mausimus
8f5bd3e185
web: clear resizedLastFrame ( #2077 )
2021-10-23 10:52:36 +02:00
Richard Smith
fcc6a61d9e
replace hardcoded number of mouse buttons with MAX_MOUSE_BUTTONS ( #2076 )
2021-10-23 10:52:04 +02:00
raysan5
18db2c4f01
REVIEWED: LoadGLTF()
...
Reorganized code and added some feature and listed restrictions. Some gltf models do not work yet.
2021-10-22 21:27:11 +02:00
raysan5
83b6cd00c6
Reviewed VS2019 projects
2021-10-22 15:41:28 +02:00
raysan5
ebad28d831
REVIEWED: gltf models loading, reverted to a previous version (with some tweaks)
2021-10-22 14:53:11 +02:00
raysan5
befdb5963e
REMOVED: IsGamepadName()
...
This function is not required, users can check it with `GetGamepadName()`
2021-10-22 12:21:31 +02:00
raysan5
83cd22ee5a
Minor tweaks
2021-10-22 12:20:42 +02:00
raysan5
dd6e006d78
Reviewed multitouch example #1988
2021-10-22 11:53:47 +02:00
Ray
317db34059
Reviewed to support raygui and physac on building
2021-10-21 21:17:25 +02:00
Ray
13bb656a91
Update Makefile
2021-10-21 21:09:40 +02:00
Ray
9afda9359b
Reviewed physac building
2021-10-21 21:04:28 +02:00
raysan5
fec0ce34c5
Remove trailing spaces
2021-10-19 14:57:12 +02:00
raysan5
719c1551cc
Reviewed latest PR formatting and details
2021-10-19 13:30:23 +02:00
warzes
9f2ff3e4d6
Support create OpenGL debug context in OpenGL 4.3 ( #2068 )
...
* - support create OpenGL debug context in OpenGL 4.3
* - additional events in debug message
- fixed glEnable(GL_DEBUG_OUTPUT)
* Reviewed OpenGL Debug Context
2021-10-19 12:43:27 +02:00
raysan5
6ac3043e88
WARNING: REMOVED: glTF loading
...
Actually, it was broken and it that code has no maintainer.
2021-10-18 14:11:56 +02:00
raysan5
2ec8ce649a
ADDED: EncodeDataBase64() and DecodeDataBase64()
2021-10-18 14:10:51 +02:00
raysan5
1c9093fd24
Avoid GRAPHICS_API_OPENGL_* defines
...
Those defines are only used inside `rlgl` module
2021-10-18 13:25:59 +02:00
raysan5
b28e353626
Reviewed glDisableVertexAttribArray() issue #2068
2021-10-18 13:22:52 +02:00
raysan5
a3f9ba8704
Removed useless GL calls #2068
2021-10-18 13:16:07 +02:00
Ray
ccf4329792
Review comments
2021-10-18 00:23:26 +02:00
Uneven Prankster
a6fb2dafc6
Fix rlLoadComputeShaderProgram define ( #2067 )
...
Now uses correct version.
2021-10-17 23:11:42 +02:00
raysan5
7a16834124
UPDATE: Officially support OpenGL 4.3
2021-10-17 21:41:19 +02:00
raysan5
f437f7b405
Reviewed makefile and examples building
2021-10-17 21:00:52 +02:00
raysan5
cf12992b6a
Remove trailing spaces
2021-10-17 21:00:20 +02:00
Sage Hane
16d015d81e
build.zig: Use addCSourceFiles ( #2066 )
2021-10-17 19:04:08 +02:00
warzes
d47d7c0001
Fixing the error of loading VOX models. ( #2065 )
...
* - Fixing the error of loading VOX models.
* - fixed spaces
2021-10-17 10:22:58 +02:00
michaelfiber
c87e91d27a
Update SetupViewport so that it doesn't subtract offset from render dimensions when calling rlViewport ( #2064 )
...
Co-authored-by: Michael <michael@cubeofb.org>
2021-10-17 10:21:51 +02:00
Ray
99f6707e2c
Support OpenGL 4.3
...
- Support Compute Shaders by rlgl API
- Support SSBO by rlgl API
2021-10-16 23:49:31 +02:00
Ray
e36dc01b91
Support GRAPHICS_API_OPENGL_43
2021-10-16 23:39:21 +02:00
Ray
8523d13683
Update rlgl.h
2021-10-16 23:30:30 +02:00
Astie Teddy
dba29e4405
Compute shaders support ( #2061 )
...
* Add basic compute shader and ssbo support in rlgl.
* Add rlBindImageTexture (untested), now requires SUPPORT_COMPILE_SHADERS
* Delete glad.c
* Delete glad.h
* Delete khrplatform.h
* Revert to previous glad.h
* Remove "glad.c"
Co-authored-by: Ray <raysan5@gmail.com>
2021-10-16 23:26:25 +02:00
Ray
0aefe256d0
REVIEWED: rlLoadDrawQuad() description #2058
2021-10-16 22:39:22 +02:00
Ray
1b793e76dc
Reviewed memory usage
2021-10-16 22:36:47 +02:00
Ray
226c0e362c
Merge branch 'master' of https://github.com/raysan5/raylib
2021-10-15 11:25:28 +02:00
Ray
84edd22612
Reviewed unsigned int issue (discussion #2054 )
2021-10-15 11:25:17 +02:00
raysan5
2a6bd973bd
Review some comments
2021-10-14 15:38:50 +02:00
Ray
9ac5a96408
Update rmodels.c
2021-10-14 10:52:24 +02:00
Ray
8a5bc933de
Starting to review glTF loading -WIP-
2021-10-14 10:43:29 +02:00
Ray
3e604a8645
Remove trailing spaces
2021-10-14 00:11:37 +02:00
Ray
83b3478fe4
Reviewed some TODO
2021-10-13 23:45:57 +02:00
raysan5
4390d3a122
Avoid raylib dependency
2021-10-13 20:47:57 +02:00