veins1
0ef3e4c4d5
Audio looping fix ( #2579 )
...
* WAVs looping fix. But broke other formats looping
* Fix audio looping issue
* Follow raylib formatting
* Cast void* to char* to make MSVC compiler happy
Co-authored-by: Ray <raysan5@gmail.com >
2022-07-29 13:10:59 +02:00
Ray
e4229e1be7
Merge branch 'master' of https://github.com/raysan5/raylib
2022-07-29 12:01:26 +02:00
Ray
bb6b43b7cb
REVIEWED: GenImageFontAtlas()
#2556
...
Just reviewed font atlas size estimation, now it considers `fontSize` instead of `chars[i].image.height`, increasing considerably the atlas size estimation.
2022-07-29 12:01:18 +02:00
Nikolay Krasheninnikov
52345fd883
[raymath] Rotation functions returns clockwise rotation matrix, #2595 ( #2599 )
...
Co-authored-by: Nikolai Krasheninnikov <nikolai.krasheninnikov@kronshtadt.ru >
2022-07-29 11:54:37 +02:00
Ray
241d6526b0
Some camera improvements #2563
...
Reviewed some camera functionality:
- Reviewed camera swinging (up-down movement)
- Reviewed camera tilting (left-right movement)
- Make movement independent of frame-rate
- removed unneeded variables
NOTE: Camera rotation has some speed issues on first person when fixed 60 fps are used: it moves too fast. Independent framerate movement is not properly implemented.
2022-07-29 10:04:12 +02:00
Ray
7b05444af8
Review comments and parameter names
2022-07-29 09:45:19 +02:00
Piotr Wierciński
024a803665
rtextures: Improve numerical stability of float multiplication ( #2596 )
...
Dimensions of Rectangle should be casted to int before multiplication,
otherwise there is a risk for underallocation/overallocation of memory.
2022-07-27 17:31:52 +02:00
Piotr Wierciński
5a2f25cc7c
rtextures: Fix ImageFromImage crash ( #2594 )
...
Height of the rectangle can be float, which
may lead to doing extra iteration of loop and
writing out of bounds.
2022-07-26 20:53:36 +02:00
Crydsch
00c7509454
add Vector3RotateByAxisAngle ( #2590 )
2022-07-26 14:27:28 +02:00
hitomi kirigri
64710e6030
fix QuaternionFromMatrix & QuaternionEquals ( #2591 )
...
Co-authored-by: kirigiri hitomi <chenjw@hiscene.com >
2022-07-26 14:25:31 +02:00
Ray
d78177d246
Update year
2022-07-25 00:52:10 +02:00
Ray
39d9d1da42
Update config.h
2022-07-25 00:48:15 +02:00
Julianiolo
6ed1ce0082
fixed build for cygwin ( #2588 )
2022-07-23 12:33:23 +02:00
George Linkovsky
b40696eab6
Fix Vector3ClampValue and Vector2ClampValue ( #2585 )
...
Co-authored-by: Timofffee <timofffee@gmail.com >
2022-07-20 14:46:11 +02:00
Jeffery Myers
e9029d3d00
[CORE] Fix Warnings ( #2582 )
...
* Fix raymath warning with floor to floorf
* signed unsigned missmatches
2022-07-19 06:36:03 +02:00
Ray
49a534b5d4
Removed raudio.h from public header
2022-07-15 19:11:42 +02:00
Ray
cccea34c6f
Update raudio.c
2022-07-15 19:09:14 +02:00
Ray
8aa105fd5b
WARNING: REMOVED: raudio_standalone example
...
Moved to raudio library repo: https://github.com/raysan5/raudio
2022-07-15 19:05:05 +02:00
Ray
6c2c176a99
Added note
2022-07-15 18:53:08 +02:00
Ray
3ebfee5dbc
REVIEWED: UpdateMusicStream()
#2228
...
Trying to implement proper looping, independently of frame rate.
2022-07-11 21:19:21 +02:00
Ray
0379b94b7a
Minor tweaks
2022-07-11 21:18:31 +02:00
Ray
b92573e711
Update raudio.c
2022-07-10 23:00:09 +02:00
Ray
2245500245
Added comment about buffer refill issue on looping #2228
2022-07-10 21:39:13 +02:00
Ray
066bd5be87
Reviewed formating
2022-07-10 21:38:33 +02:00
Ray
29a0f60778
REVIEWED: ImageResize()
#2572
2022-07-10 21:12:34 +02:00
Ray
05dc300296
Remove unneded TABS
2022-07-09 19:36:33 +02:00
Audi Nugraha
d1aabb3957
Allow DLL creation using TCC ( #2569 )
...
* Fix Undefined Symbol `_ftelli64`
* Add files via upload
* Update raylib.h
* Update raylib.h
2022-07-09 19:33:18 +02:00
Richard Smith
f7e1550eea
Fix fat universal (arm64 + x86_64) macos Github Actions build ( #2567 )
...
* test if clang supports multiple targets
* didnt work, so trying lipo to join separate targets together
* add CUSTOM_LDFLAGS to try to fix arm64 mac dynamic build
* fix sym links
* try again to fix sym links
* auto extract raylib version numbers from makefile
* fix macos missing gnu grep
* dont use custom name for raylib dlls
2022-07-08 07:57:10 +02:00
Ray
7fb7591e4f
Update raylib.h
2022-07-05 13:27:07 +02:00
Ray
e722a8dbef
WARNING: BREAKING: REMOVED: *StorageValue()
functions
...
Those functions were platform dependent and user has no control over the file created. They have been removed from raylib and just moved to `core_storage_values` example.
2022-07-05 13:24:14 +02:00
Ray
e0f0a5f663
REMOVED: GenMeshBinormals()
, actually, never implemented
2022-07-05 12:55:51 +02:00
Ray
cd53531050
Added some comments
2022-07-05 00:50:23 +02:00
Ray
c6c71fe73c
REVIEWED: DrawMesh()
#2511
...
Disable color vertex attribute if not provided by mesh
2022-07-04 17:47:47 +02:00
Ray
f579a3a708
REVIEWED: DecompressData()
2022-07-03 11:11:50 +02:00
Ray
9be186624c
REVIEWED: DrawBillboard*()
2022-06-29 21:56:19 +02:00
Ray
61e691d94f
Remove unneeded rlPushMatrix()
2022-06-27 13:27:16 +02:00
Ray
da5d04061e
Updated PLATFORM_RPI info #2547
2022-06-25 12:10:28 +02:00
Ray
1211047e1c
Removed physac #2543
2022-06-24 11:09:12 +02:00
veclavtalica
63568721f9
fix: precision loss, discard unused ( #2541 )
2022-06-24 10:59:31 +02:00
Hanaxar
6f231ea9ac
Fix signedness in rlBindImageTexture ( #2539 )
...
rlGetGlTextureFormats was expecting unsigned int, corrected variables according to that.
2022-06-23 12:23:14 +02:00
Ray
371aa0fe7f
Update rlgl.h
2022-06-21 20:59:54 +02:00
Ray
5044ce9de3
Reviewed batch buffer overflow #2526
2022-06-21 20:28:50 +02:00
Ray
68c7cc0cc4
minor tweak
2022-06-21 19:53:28 +02:00
Dan Bechard
8bd3ecaa66
Share PCM streaming buffer to reduce dynamic allocations ( #2532 )
2022-06-21 19:26:21 +02:00
Ray
0afa79067b
Revert "Update rlgl.h"
...
This reverts commit 8fe6bfabbf
.
2022-06-18 20:47:49 +02:00
Ray
5426262ae6
REVIEWED: IsFileExtension()
#2530
...
Max file extension size set to 16
2022-06-18 20:44:15 +02:00
Ray
8fe6bfabbf
Update rlgl.h
2022-06-18 19:24:11 +02:00
Ray
6f3b2a7661
Update rlgl.h
2022-06-18 16:22:47 +02:00
Ray
c1d9489294
Update rcore.c
2022-06-18 16:22:42 +02:00
Ray
8d9c45a08a
tweak
2022-06-17 21:24:59 +02:00