8065504aba
Simplify build.zig to not require user to specify raylib path ( #2383 )
...
We can figure out the source file location based on the location of the
build.zig file. No need to require the library user to specify where
raylib is stored.
2022-03-11 19:04:24 +01:00
cda1324e87
Vector2/Vector3: Add squared distance. ( #2376 )
2022-03-09 20:05:08 +01:00
7584ce6f48
Increase atlas size guesstimate; print warnings if atlas size is too small ( #2365 )
2022-03-01 11:26:48 +01:00
7fa75cb24e
Removed memset()
2022-02-27 22:32:17 +01:00
ead8003044
Possible fix for #2360
2022-02-25 20:41:18 +01:00
6e9ec253c8
Support clipboard copy/paste on web
2022-02-20 22:07:52 +01:00
937e7b3dd9
REVIEWED: Some functions input parametes that should be const
2022-02-20 20:35:28 +01:00
68bad6986d
make const ( #2348 )
...
* make const
* make const
2022-02-20 20:12:55 +01:00
761669272f
Fix free camera panning in the wrong direction ( #2347 )
2022-02-20 19:52:13 +01:00
d4382f4a52
Removed trailing spaces
2022-02-18 20:30:46 +01:00
963de06d08
follow style guide ( #2346 )
...
* follow style guide
* Update rmodels.c
2022-02-17 00:54:21 +01:00
4f2bfc5476
Reviewed bug on FindNearestConnectorMode()
2022-02-15 19:38:28 +01:00
b54e9db764
Optimize Vector2Rotate() function ( #2340 )
2022-02-13 18:43:17 +01:00
f40eed5adf
add premultiplied alpha blend mode ( #2342 )
2022-02-13 18:42:24 +01:00
4bc6e0d7de
Update rtext.c
2022-02-13 10:47:19 +01:00
9cf170e6e9
Reviewed makefile to use right shell on right platform
2022-02-13 10:47:09 +01:00
8c9a0221a4
Update Makefile
2022-02-12 19:38:14 +01:00
2f3fc41c33
Allow setting a custom PLATFORM_SHELL
2022-02-12 19:31:27 +01:00
6ef6dbff2d
REVIEWED: PLATFORM_OS for PLATFORM_WEB
2022-02-12 19:08:31 +01:00
d0008ae8cd
REVIEWED: Issue when compiling for PLATFORM_WEB
2022-02-12 18:06:21 +01:00
dd15531e25
Properly fix make clean under windows ( #2341 )
...
* Properly fix make clean under sh.exe
* Ensure make clean works properly under Windows if RAYLIB_RELEASE_PATH is modified
2022-02-12 17:59:48 +01:00
ddba8478c5
Revert "Reviewed Makefile clean target to use CMD shell on Windows"
...
This reverts commit ab47c6401e .
2022-02-12 17:58:38 +01:00
ab47c6401e
Reviewed Makefile clean target to use CMD shell on Windows
...
Tested on the following environments:
- w64devkit.exe
- Windows 10 cmd
- Notepad++ NppExec console
2022-02-12 17:37:12 +01:00
81cced4d83
Fix make clean target failing when shell is not cmd ( #2338 )
...
GNU make on Windows first tries to find sh.exe on the path,
and will execute build rules using it if it is present.
The make clean target uses the builtin cmd.exe command del, which
won't work under sh.exe
The reason this is not done for the entire Makefile is because it would
break cross-compilation of raylib.
2022-02-10 20:52:34 +01:00
96452637d9
Add BSD support for zig builds ( #2332 )
...
- Adds a new OS clause to build.zig for the BSDs
- Tested on my FreeBSD box using https://github.com/Not-Nik/raylib-zig
- All demos build and render just fine. Nice !
2022-02-09 08:23:14 +01:00
1e436be51d
Make audio examples compile with external glfw on Linux ( #2329 )
2022-02-05 13:33:05 +01:00
a0895f1a3c
Fix Undefined Symbol _ftelli64 ( #2319 )
2022-02-03 12:00:33 +01:00
c54d9cd552
simplify QuaternionInvert ( #2324 )
2022-01-31 09:39:21 +01:00
44d3cee5d1
Minor tweak
2022-01-28 21:25:40 +01:00
d38fe92c3f
RENAMED: GetFileSize() to GetFileLength()
...
`GetFileSize()` conflicts with the infamous `windows.h`
2022-01-28 00:23:28 +01:00
0f00c41aad
ADDED: GetFileSize()
2022-01-27 14:07:05 +01:00
524bf57b74
Update qoi.h
2022-01-26 16:33:38 +01:00
e5ee69a0f5
Add DrawTextCodepoints ( #2308 )
...
* Add DrawTextCodepoints
* Fixed top comment
2022-01-26 12:55:34 +01:00
76b6efc827
Support export .jpeg files
2022-01-26 11:30:38 +01:00
ebdc34a20e
Update minshell.html
2022-01-25 14:04:55 +01:00
b422e407e8
Update rtextures.c
2022-01-22 18:42:44 +01:00
5b8b24c0c5
Fix GetApplicationDirectory on macOS ( #2304 )
...
Previously failed to build with an implicit declaration of `_NSGetExecutablePath`.
2022-01-22 17:25:53 +01:00
45ef46c5e8
fix: material color won't be loaded if there's no texture for that material ( #2298 )
2022-01-21 12:52:07 +01:00
3c359ff4bc
Review code conventions for specific defines for GetApplicationDirectory() ( #2293 )
...
Unless these imports require to have this format, the code has been adjusted to the conventions
2022-01-18 18:30:19 +01:00
bec27a6ebc
[CORE] Fixes for GetApplicationDirectory on 32 bit windows builds ( #2290 )
...
* Fix a signature error with the windows calls in GetApplicationDirectory for 32 bit builds.
* break is better than loop var to -1
2022-01-17 18:05:48 +01:00
15b36e04b2
Review formating
2022-01-16 17:16:04 +01:00
5ac07122bd
Add panning to raudio and update audio_raw_stream example. ( #2205 )
...
* Add panning to raudio and update audio_raw_stream example.
* remove pan smoothing, code formatting changes following pull request comments
Co-authored-by: Ray <raysan5@gmail.com >
2022-01-16 12:49:58 +01:00
48a463cca8
REVIEWED: Vector2Transform(()
2022-01-15 22:19:48 +01:00
8ee0eb8f36
ADDED: Vector2Transform()
2022-01-15 22:12:58 +01:00
f4dea6919a
[CORE] Bug and formating fixes for GetApplicatonDir ( #2285 )
...
* Fix formating problems with GetApplicationDir.
Don't ever return an empty string
* always return a valid path even if it's ./
* remove the need for the dll and just use the normal GetModuleFileName function
2022-01-14 20:16:25 +01:00
f57727995a
REVIEWED: rlLoadShaderCode()
2022-01-13 19:05:45 +01:00
e621efe79f
rlLoadShaderCode - set ShaderId variables to RLGL.State.default[VF]ShaderId if repesctive Code is NULL ( #2281 )
2022-01-13 18:42:44 +01:00
464026f15c
Update rcore.c
2022-01-12 12:00:47 +01:00
b61c9afd04
Update Makefile, simplified
2022-01-11 11:57:26 +01:00
cabb5518e5
Improve Makefile organization
2022-01-11 11:20:04 +01:00