chriscamacho
d140dc81c0
work on quat and matrix math - deleted multiple copies of raymath.h causing issues ( #1359 )
...
Co-authored-by: codifies <nospam@antispam.com>
2020-08-23 21:01:26 +02:00
raysan5
c32ae480af
RENAMED: FormatText() -> TextFormat()
...
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
2020-08-16 11:28:15 +02:00
raysan5
6fb5207694
Update resources LICENSE
2020-07-14 19:17:08 +02:00
raysan5
fed4716c3b
resources PNG chunks cleaning
2020-05-28 21:18:58 +02:00
Mickaël Malécot
0bd64b7975
Gamepad axis bug fixes and improvement ( #1228 )
...
* Fix gamepad axis count
* Fix Xbox axis drawing
* Ignore low axis values
* Revert "Fix gamepad axis count"
This reverts commit f08ae4bf
* Fix GamepadAxis API
* Fix conflict with master
* Revert Gamepad MAX definitions
* Revert MAX_GAMEPAD_AXIS update
2020-05-09 12:39:41 +02:00
raysan5
6a8e4795da
Update core_input_multitouch.c
2020-05-01 18:16:04 +02:00
raysan5
00b3199859
Added raymath to examples
2020-04-16 13:49:19 +02:00
raysan5
44961d1975
Update core_basic_window.c
2020-03-30 16:09:09 +02:00
raysan5
a5e1aff99b
[example] Integrate virtual mouse in main example
2020-03-28 18:36:30 +01:00
raysan5
05abaee0e0
Update core_window_letterbox_virtual_mouse.c
2020-03-24 19:10:50 +01:00
Anata
c45fe62abc
Add files via upload ( #1147 )
...
Virtual mouse with window letterbox, and Clamp
2020-03-24 14:25:44 +01:00
Ray
5ff0776235
Remove trail spaces and some tweaks
2020-02-27 13:33:09 +01:00
Ray
23bde477e5
REDESIGN: LoadStorageValue()/SaveStorageValue()
...
Using new file I/O ABI
2020-02-27 13:18:15 +01:00
Ray
2294947660
Update core_storage_values.c
2020-02-26 23:42:41 +01:00
Ray
cacd4a9d90
Some examples tweaks
2020-01-30 12:27:04 +01:00
Ray
9f79ed2972
Create core_2d_camera_platformer.png
2020-01-09 13:23:40 +01:00
Ray
91faf72dda
Rename and review: core_2d_camera_platformer
2019-11-25 13:06:56 +01:00
Ray
5ad65d9291
Minor format tweaks
2019-11-25 11:26:26 +01:00
arvyy
97101d1003
Add screen->world and world->screen functions for 2D; add extended camera2D example ( #947 )
2019-08-27 13:05:28 +02:00
raysan5
20257f3e49
Uniform initialization not supported on GLSL 100
2019-08-20 21:17:06 +02:00
Ray
ce8d7042c6
PR formatting review
2019-08-16 16:15:47 +02:00
arvyy
d8b8c0f3fc
change Camera2D behavior ( #945 )
2019-08-16 16:09:50 +02:00
Leandro Gabriel
89c16baf18
Replace tabs with spaces and update year of copyright notices ( #927 )
...
* Update year of copyright notices
* Fix mistake in comment
* Fix typo ("algorythms")
* Replace tabs with spaces
* Remove trailing whitespace and fix mistake in comment
* Fix ExportImageAsCode missing comment rectangle corner
* Replace tab with spaces
* Replace tabs with spaces
2019-08-03 11:07:41 +02:00
João Coelho
68ffbc06c7
explained a bit more the core_window_letterbox example ( #925 )
2019-08-02 15:16:43 +02:00
raysan5
602d2a65dd
Reviewed new examples
2019-07-28 15:09:01 +02:00
ChrisDill
879c874330
Added scissor test and mouse painting examples proposed in #890 ( #919 )
...
- Updated Makefile with new examples
2019-07-28 11:12:13 +02:00
Ray
434e460c18
Example instructions tweak for clarity
2019-05-31 16:42:16 +02:00
Ray
efdc6f87d5
Define standard examples size
2019-05-29 13:47:57 +02:00
Ray
87774a0a21
Review variables initialization
2019-05-27 00:18:15 +02:00
Ray
3dfbeb5488
Update core_3d_picking.c
2019-05-21 10:16:39 +02:00
Ray
b525039e0a
Review ALL examples
2019-05-20 16:36:42 +02:00
Ray
f44dfa1ef2
Implement VR distortion shader for GLSL 100
2019-05-16 15:30:03 +02:00
Ray
424d3ca8d9
examples review
...
Redesigns, deletes and renames
Also noted authors propertly on contributed examples
2019-05-14 15:34:23 +02:00
Ahmad Fatoum
6681fd7df2
examples: core_loading_thread: fix race condition
...
A plain variable is insuffecient for inter-thread communication. Both the
compiler and the processor may reorder accesses. The compiler could even
cache dataLoaded with the result that STATE_FINISHED becomes unreachable.
Fix this by using C11 atomic_bool, which guarantees sequential consistency.
This fixes #827 .
2019-05-04 21:23:19 +02:00
Ahmad Fatoum
53d9beb534
examples: core_loading_thread: use symbolic names for state machine states
...
And while at it, use a switch clause to make the state machine
structure clearer.
2019-05-04 17:15:48 +02:00
Ray
34feacc148
new example: core_loading_thread
...
Data loading in a second thread with progress bar in main thread
2019-05-02 12:22:54 +02:00
Reece Mackie
f36ba6a2f4
Damn, made a mistake
2019-04-28 16:32:05 +01:00
Reece Mackie
948a442704
Update gamepad example to use new enums
2019-04-28 16:20:14 +01:00
Ray
99537efccf
Review some examples
2019-04-12 13:29:53 +02:00
Ray
24f07aaf5a
new example: core_window_scale_letterbox
2019-04-11 17:40:13 +02:00
Ray
5bfa675350
Review VR simulator mechanism
...
- No default VR device parameteres inside raylib
- VR device parameter should be provided by user
- VR distortion shader should be provided by user
2019-04-11 13:53:01 +02:00
Ray
2f56119568
Corrected issue when scaling
2018-12-18 18:19:11 +01:00
Berni8k
7a712d00e6
Added multitouch example
2018-10-21 10:10:50 +01:00
raysan5
6f61e26a3c
Reviewed custom logging functionality
2018-07-28 17:57:05 +02:00
Pablo Marcos Oltra
c69f7953c7
Add SetTraceLogCallback to enable users setting custom logging ( #597 )
2018-07-26 21:57:45 +02:00
Ray
096fd6f2c3
Converted rlgl module in header-only
...
This change allows rlgl.h usage as independent single-file header-only module... still some tweaks required, like removing GLAD dependency... required extensions could be manually loaded!
Also removed shader_distortion.h, embedded in rlgl.h
2018-07-16 17:53:47 +02:00
Ray
245704df72
Reviewed examples
2018-05-11 18:14:51 +02:00
Ray San
6045062a05
Renamed some functions
...
- Renamed Begin3dMode() --> BeginMode3D()
- Renamed Begin2dMode() --> BeginMode2D()
- Renamed End3dMode() --> EndMode3D()
- Renamed End2dMode() --> EndMode2D()
2018-05-04 16:54:05 +02:00
Ray San
6324697ffd
Rectangle parameters changed to float
...
- Some examples tweaks
- Reviewed ImageFormat()
- Use float for text fontSize
2018-05-04 16:25:31 +02:00
raysan5
198d739256
BREAKING CHANGE: Renamed Camera -> Camera3D
...
Just added a fallback in the meantime...
2018-05-01 12:31:03 +02:00