raysan5
efba81442a
Update link address for miniaudio
2021-07-03 21:25:05 +02:00
raysan5
f81dfce19f
Minor tweaks
2021-07-01 21:43:13 +02:00
raysan5
a6728a2203
REVIEWED: emscripten versions
2021-06-30 17:12:58 +02:00
raysan5
9e7ca41f58
Remove trailing spaces
2021-06-30 16:39:07 +02:00
masterex1000
ee24d17895
Fix DecompressData() pointer issue ( #1856 )
2021-06-29 23:06:09 +02:00
raysan5
da8d76d826
Review issue with pointer #1854
2021-06-29 11:26:34 +02:00
raysan5
6f30a19dd7
Update uwp_events.h
2021-06-28 14:23:55 +02:00
raysan5
2911cf2a48
Reviewed comments
2021-06-28 14:23:45 +02:00
Ray
e5cf3f9555
WARNING: BREAKING: Functions renamed for consistency
...
RENAMED: GetTextureData() -> LoadImageFromTexture()
RENAMED: GetScreenData() -> LoadImageFromScreen()
2021-06-28 09:39:31 +02:00
raysan5
5f03201616
Minor tweaks
2021-06-26 22:43:20 +02:00
raysan5
8eb7cf1fee
REVIEWED: Enum values descriptions
2021-06-26 22:13:45 +02:00
raysan5
2f75657350
WARNING: REMOVED: Some deprecated function names mapping
...
Some functions/values have been deprecated for long time but some mapping was kept for convenience. Some of those mappings have been removed...
2021-06-26 21:07:00 +02:00
Ray
00c8795385
Minor tweaks to follow code conventions
2021-06-26 13:45:39 +02:00
Ray
89708edf7f
REVIEWED: Latest PR to follow raylib code conventions
2021-06-26 13:45:15 +02:00
Hristo Stamenov
71700254b4
Major revamp gltf ( #1849 )
...
* Added my own model and license to Raylib exclusively created by me and provided for use in the examples (and other projects if anyone decides to)
* Use animation vertices on initial load if possible.
* Added girl model to model example
* Revamped GLTF model loading as it was wrong by default. Also updated some comments.
GLTF models were loaded only by mesh but they should be loaded recursively by hierarchical nodes because tehre are some static node transformations that are to be applied to the vertices. It also resulted in more meshes being included in some models.
It is the correct way of loading GLTF and what is suggested in the official examples.
Currenlty limiting to only one scene but more can be included later.
* Refactored the new names and structure of extracted functions.
* Safer and easier read value.
* Made reading easier for accessor->bufferView->buffer in GLTF.
Now there is no need to check for supported types or anything.
* Correct inclusion of limits.h in the cases of MSVC based compilers vs the world
* Removed weird example file
2021-06-26 13:22:00 +02:00
Ray
aa86e9d399
REVIEWED: Minor tweaks on log messages
2021-06-26 13:18:39 +02:00
Ray
4b6e6ce20e
REVIEWED: Improved log info on image/textures laoding
...
ADDED: rlGetPixelFormatName()
2021-06-26 13:07:14 +02:00
Ray
7cbfca8bd1
REVIEWED: Simplified code to avoid extra functions calls
2021-06-26 13:06:22 +02:00
Ray
e0720a0a55
WARNING: REVIEWED: Default shader uniform names
...
When a shader is loaded, by default, several locations are tried to be set automatically.
2021-06-25 13:35:43 +02:00
Ray
d4c03b47ec
REVIEWED: LoadShader() and default locations
...
Reviewed locations descriptions
2021-06-25 00:46:14 +02:00
Ruminant
f3eff740ce
fix to LoadShaderFromMemory ( #1851 )
...
- the shader.locs now match the LoadShader function
Without this change, the lighting sample looks incorrect when
using LoadShaderFromMemory
Co-authored-by: Ruminant <psp5150+git@gmail.com>
2021-06-24 18:48:48 +02:00
Ray
953882e86f
REVIEWED: CORE.Storage.basePath
...
Simplified some code
2021-06-24 18:13:25 +02:00
Ray
46ad7b87e8
Update text.c
2021-06-24 18:11:48 +02:00
Ray
4e9afac2a5
REVIEWED: WaitTime() #1841
...
Avoid global variables dependency, now the function is self-contained.
2021-06-24 11:01:44 +02:00
Nikhilesh S
f7a6b94f46
Allow SetWindowSize() on web ( #1847 )
2021-06-23 10:02:18 +02:00
Ray
3db26f82ea
WARNING: BREAKING: Functions renamed!
...
RENAMED: GetCodepoints() -> LoadCodepoints(), now codepoint array data is loaded dynamically instead of reusing a limited static buffer.
ADDED: UnloadCodepoints() to safely free loaded codepoints
RENAMED: GetNextCodepoint() -> GetCodepoint()
2021-06-23 09:58:49 +02:00
Ray
716e26aa37
Review BeginTextureMode() usage
...
Moved outside BeginDrawing()/EndDrawing() to illustrate drawing is happening to an external texture (not screen)
2021-06-23 01:25:09 +02:00
Ray
429c5a9a9a
Review and un-expose InitTimer()
...
Actually it's not required for SUPPORT_CUSTOM_FRAME_CONTROL
2021-06-22 20:26:59 +02:00
Ray
7f2a071c51
Formatting review
2021-06-22 20:14:44 +02:00
Sky
9095dd9e82
Add support for resizing Emscripten canvas ( #1840 )
2021-06-22 18:25:52 +02:00
Diesirae
30a0f6f292
Fix DrawTextRec ( #1843 )
...
* fix text wrapping
* fix indent
* fix indent
* fix indent
* fix DrawTextRec
2021-06-22 18:16:04 +02:00
Guillaume DEVOILLE
52f1c7df6d
Fix missing fclose in tinyobj loader ( #1842 )
...
Missing fclose in tinyobj loader.
2021-06-22 18:12:42 +02:00
Ray
115cc7dede
Review GetFPS()
2021-06-21 00:46:30 +02:00
Adrian Guerrero Vera
96d5dd24aa
core: added GetMouseDelta() ( #1832 )
...
* core: added `GetMouseDelta()`
Thanks to previousPosition added by raysan it is now possible to create the GetMouseDelta() function.
Returns a Vector2 with the difference between the current and previous position of the mouse in a frame.
Useful for creating camera scrolling, among others.
* Added changes noted by raysan
2021-06-21 00:11:27 +02:00
raysan5
28093c46a8
Disable SUPPORT_EVENTS_AUTOMATION by default
2021-06-19 19:54:36 +02:00
Ray
1dd9fbae94
Merge branch 'master' of https://github.com/raysan5/raylib
2021-06-17 18:18:26 +02:00
Ray
8be5ec2288
Avoid SUPPORT_MOUSE_CURSOR_POINT
2021-06-17 18:18:16 +02:00
Sirvoid
1a420b77e3
Fixed: Binding vertex position twice ( #1835 )
2021-06-17 15:42:37 +02:00
Ray
e07054d0d4
RENAMED: SwapBuffers() -> SwapScreenBuffer()
...
Avoid possible symbol collisions
2021-06-17 12:47:03 +02:00
Ray
b733e76c86
Update physac.h
2021-06-17 12:26:33 +02:00
Ray
19b71f5f13
WARNING: Exposed SUPPORT_CUSTOM_FRAME_CONTROL #1729
2021-06-17 12:17:50 +02:00
Ray
ab032919df
RENAMED: Wait() -> WaitTime()
2021-06-17 11:47:05 +02:00
Ray
68e408474d
Renamed SUPPORT_MOUSE_CURSOR_NATIVE -> SUPPORT_MOUSE_CURSOR_POINT
2021-06-17 11:17:39 +02:00
Ray
942657fc7c
Remove Color struct requirement
2021-06-17 00:28:51 +02:00
Ray
4decbb2586
RENAMED: MeshTangents() -> GenMeshTangents()
...
RENAMED: MeshBinormals() -> GenMeshBinormals()
2021-06-17 00:04:24 +02:00
Ray
f3d38018cd
Comment tweak
2021-06-17 00:03:24 +02:00
Ray
4b93feb172
Remove trail spaces
2021-06-13 17:08:30 +02:00
Ray
213c990eda
Reviewed issue
2021-06-13 12:08:32 +02:00
Ray
de7b8ad551
NEW CRAZY FEATURE: EVENTS AUTOMATION!
...
https://youtu.be/3dZenkpmRzM
2021-06-11 12:27:46 +02:00
Ray
0b8e0f05a7
Register mouse previous position
2021-06-10 18:03:25 +02:00
Ray
b188008a1c
Review code formatting
2021-06-10 18:00:44 +02:00
Ray
7bc2e922c9
Review some comments
2021-06-10 17:49:55 +02:00
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