Ray
92733d6695
BIG UPDATE: New models functions for animations!
...
Multiple functions added and some reviewed to adapt to the new multi-mesh, multi-material and animated models.
2019-04-05 13:15:56 +02:00
Ray
a728376cdf
Rename enum type
2019-04-05 13:13:10 +02:00
Ray
28b9de661d
Minor tweaks
2019-04-05 13:12:54 +02:00
Ray
a103086443
Removed trail spaces
2019-04-04 13:50:52 +02:00
Ray
3e1e7d740f
Review merged PR formatting
...
Removed trail spaces
2019-04-04 13:50:28 +02:00
Ray
6ecd8249bc
Merge pull request #787 from Demizdor/master
...
Added `DrawRoundedRect()` and `DrawRoundedRectLines()`
2019-04-04 13:42:20 +02:00
Ray
d89d24c5e8
BIG UPDATE: Support model animations!
2019-04-04 13:33:54 +02:00
Ray
22dece2935
Animated vertex renaming
2019-04-04 13:32:17 +02:00
Ray
f1cbdd6b3a
Corrected some issues
...
- Support compiling for OpenGL 1.1
- Free meshes/materials memory after usage...
2019-04-01 18:22:56 +02:00
Ray
86212e8462
Support material loading from OBJ/MTL
2019-04-01 12:41:32 +02:00
Ray
e5edbb7104
Reviewed OBJ loading implementation -WIP-
...
One mesh files can be loaded correctly
MISSING:
- Multimesh OBJ loading
- Materials loading
2019-04-01 12:17:29 +02:00
Ray
fe702cd6a2
Implementing LoadOBJ() -WIP-
...
It seems obj loading is working ok but there is some problem with drawing...
2019-04-01 00:16:56 +02:00
Ray
3e806ad9d4
Reviewed data assignation
2019-04-01 00:15:45 +02:00
Demizdor
eda982e261
Reimplemented DrawRoundedRectLines()
2019-03-31 16:15:40 +03:00
Vlad Adrian
ecbd17910d
Added DrawRoundedRectLines()
2019-03-31 13:22:50 +03:00
Vlad Adrian
1415d514ba
Update raylib.h
2019-03-31 13:20:45 +03:00
Demizdor
a28023b58f
Added DrawRoundedRect()
2019-03-30 22:18:29 +02:00
Ray
a197f40bb4
Default to white cube mesh if not loaded
2019-03-29 20:22:30 +01:00
Ray
6f371dab08
Some formatting review
2019-03-29 19:43:27 +01:00
Ray
afab8b36ab
Merge pull request #786 from Demizdor/draw_ring
...
Added DrawRing(), DrawRingLines() and DrawCircleSectorLines()
2019-03-29 17:28:37 +01:00
Ray
19debd2b4e
Review some warnings
2019-03-29 17:28:10 +01:00
Ray
8a73c5d0b4
Replace custom OBJ/MTL implementations by tinyobj_loader -WIP-
2019-03-29 17:15:22 +01:00
Ray
a643dc4ca0
WARNING: Redesigned model struct for multi-meshes
...
This is quite a big change, Model struct has been redesigned to support multiple meshes and multiple materials, most 3d fileformats contain multiple meshes and reference multiple materials.
Consequently, multiple functions have been reviewed.
LoadOBJ(), LoadIQM(), LoadGLFT() now return a Model.
Current LoadOBJ() is not valid anymore, actually, tinyobj_loader_c library is considered for replacement.
2019-03-29 16:48:23 +01:00
Demizdor
ab9c6da26f
Added DrawRing(), DrawRingLines() and DrawCircleSectorLines()
2019-03-29 16:22:09 +02:00
Ray
876c64b1e5
WARNING: This could break something
...
If we have no data to update/draw, we avoid update/draw. On `DrawBuffersDefault()` if no vertes data is available nothing is drawn but some globals: vertexData, projection, modelview, draws... are reseted.
There shouldn't be any problem if we don't touch those globals in case no vertex have been processed but, just in case, I warn about it.
2019-03-29 12:27:50 +01:00
Ray
69656cb090
Added comment
2019-03-29 12:23:02 +01:00
Ray
8e98fa8754
Merge pull request #785 from Berni8k/master
...
RaspberryPi Keyboard input with evdev
2019-03-28 22:26:48 +01:00
Berni8k
ea96d0afea
Fixes compile error when SUPPORT_GESTURES_SYSTEM is undefined on RPi
2019-03-28 20:38:13 +01:00
Berni8k
b1e914bbf3
RaspberryPi Keyboard input with evdev
...
Based on pull request from user "DarkElvenAngel", better integrated with the current event system and enhanced with buffer to help with fast typing at low framerates.
2019-03-28 19:46:39 +01:00
Ray
88dfd2ab23
REDESIGNED: DrawCircleSector()
2019-03-28 18:53:41 +01:00
Ray
186d34827a
Align LINES and TRIANGLES drawing
...
When drawing LINES or TRIANGLES, vertex are accumulated in same buffer as QUADS and new draw calls are registered but QUADS drawing uses an index buffer for optimization, so, when adding LINES/TRIANGLES vertices we need to make sure next draw calls for QUADS keep aligned with indices buffer.
To get that we just add some alignment vertex at the end of the LINES/TRIANGLES draw calls, to make them multiple of 4 vertex.
2019-03-28 18:05:32 +01:00
Ray
165ced9428
Small tweak
2019-03-28 13:03:25 +01:00
Ray
7524fdc3e1
Review gestures disable flag
2019-03-25 12:30:20 +01:00
Ray
c001bdb2de
Checking issue with sound volume
...
It seems individual sound volume level is not set...
2019-03-20 10:57:41 +01:00
Ray
aa00d77110
Support additional modules building -WIP-
...
The idea is supporting additional raygui and physac modules building with raylib but those modules are distributed as header-only libraries and it makes a bit dificult to build them inside raylib...
2019-03-18 18:46:39 +01:00
raysan5
0bbf857b00
Review build release path, default to src directory
2019-03-17 12:21:51 +01:00
raysan5
f02a0334d8
ADDED: GetScreenData()
2019-03-17 11:58:02 +01:00
raysan5
2a92d6af3e
Support no-audio no-models modules compilation
...
Renamed flags for convenience.
2019-03-16 13:02:16 +01:00
raysan5
a61d3ad512
SetWindowIcon() redesigned
...
Now core does not depend on textures module directly, only through text module.
2019-03-16 13:00:46 +01:00
Ray
29d1323bd1
Work on ImageResizeCanvas()
2019-03-15 13:34:09 +01:00
Ray
cbfa35a39e
REVIEW: ImageResizeCanvas() -WIP-
2019-03-15 00:56:02 +01:00
Ray
ff1bcfb2fa
Remove comment
2019-03-13 10:26:33 +01:00
Ray
5e8427a8b5
REDESIGNED: GetFileNameWithoutExt()
...
Removed possible memory leak when using this function
2019-03-13 10:07:01 +01:00
Ray
b6dd31c653
Merge pull request #775 from rsachetto/master
...
Adding DrawCubeWiresV for convenience
2019-03-13 09:42:56 +01:00
Ray
32e6a419c1
Reorder one flag
2019-03-12 16:29:41 +01:00
Ray
477ea4d660
Support external config flags
2019-03-12 16:00:26 +01:00
Ray
76e968f6b7
Updated audio library: mini_al -> miniaudio
2019-03-12 11:54:45 +01:00
Rafael Sachetto
9f54a69cec
Adding DrawCubeWiresV for convenience
2019-03-08 15:06:17 -03:00
Ray
2f97a3f835
Proposed Model struct review
2019-03-05 16:46:48 +01:00
Ray
2e99c6cefb
ADDED: IsWindowResized()
2019-03-04 22:58:20 +01:00