Rico P
8b8eddc8e2
slightly optimize Vector3Normalize ( #2982 )
2 lat temu
Ray
1fea266472
Clean trailing spaces
2 lat temu
Ray
60d0ab418a
some typos review
2 lat temu
Ray
a151cbd37a
ADDED: `Vector2LineAngle()` #2887
REVIEWED: `Vector2Angle()`
2 lat temu
Dor Shapira
df5a736c00
fix typo ( #2899 )
patrix=>matrix
2 lat temu
Ray
b59fab7ee6
Update year to 2023
2 lat temu
Ray
d7f7c94c4d
REVIEWED: `Vector2Angle()`
2 lat temu
Antonis Geralis
d1a104bba4
Fix vector2angle ( #2832 )
* Fix vector2angle
* Fix ;
* use acosf
* need a break
* add comments
2 lat temu
Alexander Heinrich
3419aef677
Fix Vector2Angle() ( #2829 )
With this fix the function still returns negative values, which is
wrong. But we keep this behaviour to maintain backwards compatibility.
2 lat temu
Ray
2a2c9e4da8
minor tweaks
2 lat temu
Ray
fd191a32ea
Remove trailing spaces
2 lat temu
Nikolay Krasheninnikov
52345fd883
[raymath] Rotation functions returns clockwise rotation matrix, #2595 ( #2599 )
Co-authored-by: Nikolai Krasheninnikov <nikolai.krasheninnikov@kronshtadt.ru>
2 lat temu
Ray
7b05444af8
Review comments and parameter names
2 lat temu
Crydsch
00c7509454
add Vector3RotateByAxisAngle ( #2590 )
2 lat temu
hitomi kirigri
64710e6030
fix QuaternionFromMatrix & QuaternionEquals ( #2591 )
Co-authored-by: kirigiri hitomi <chenjw@hiscene.com>
2 lat temu
George Linkovsky
b40696eab6
Fix Vector3ClampValue and Vector2ClampValue ( #2585 )
Co-authored-by: Timofffee <timofffee@gmail.com>
2 lat temu
Jeffery Myers
e9029d3d00
[CORE] Fix Warnings ( #2582 )
* Fix raymath warning with floor to floorf
* signed unsigned missmatches
2 lat temu
Pijus
c392f0c16b
Add wrap ( #2522 )
* add wrap function
* fixed Wrap function wrapping wrong
3 lat temu
Ray
377dcef9f4
Revert "add wrap function ( #2521 )"
This reverts commit 81157e4e72
.
3 lat temu
Pijus
81157e4e72
add wrap function ( #2521 )
3 lat temu
Ray
ed2ab55034
Remove line ending spaces
3 lat temu
Ray
233cf3970c
Removed bool type from raymath, it broke raylib
3 lat temu
Ray
015a71fc40
Update raymath.h
3 lat temu
Ray
be3ae71aec
Review new functions formatting
3 lat temu
saccharineboi
52befa0815
Augment raymath.h with useful functions ( #2428 )
* Augment raymath.h with useful functions
* Rename Vector2ClampMagnitude and Vector3ClampMagnitude to Vector2ClampValue and Vector3ClampValue
* Remove Vector3{Up,Down,Left,Right,Forward,Backward}
3 lat temu
Satoshi Tanaka
5abb87a0d2
Fix QuaternionScale ( #2419 )
3 lat temu
Ray
cfe7823453
REMOVED: `MatrixNormalize()` #2412
3 lat temu
Ray
c2c1c93041
Corrected typo
3 lat temu
Ray
0da7830745
REVIEWED: Avoid some float -> double promotions
3 lat temu
Anilforextra
cda1324e87
Vector2/Vector3: Add squared distance. ( #2376 )
3 lat temu
Jaedeok Kim
b54e9db764
Optimize `Vector2Rotate()` function ( #2340 )
3 lat temu
megagrump
c54d9cd552
simplify QuaternionInvert ( #2324 )
3 lat temu
Ray
48a463cca8
REVIEWED: `Vector2Transform(()`
3 lat temu
Ray
8ee0eb8f36
ADDED: `Vector2Transform()`
3 lat temu
raysan5
a940f41b4b
Update year to 2022
3 lat temu
Ray
20f4d8c147
Reviewed typo
3 lat temu
Andrea Fontana
c0715c1225
Fixed functions Vector2Angle and Vector3Angle ( #2203 )
* Fixed functions Vector2Angle and Vector3Angle
* typo
* Unrolled everything.
3 lat temu
Jaedeok Kim
72f3b00b00
Fix Vector2Angle() not working as expected ( #2196 )
3 lat temu
Ray
e7f48eb16b
Tweaks
3 lat temu
HarriP
3cb4ef2599
Fix inverse length in Vector2Normalize ( #2189 )
Following the pattern in Vector3Normalize.
3 lat temu
Steven Schveighoffer
fa7337e19c
Vector2Angle returns degrees instead of radians, but all other raymath ( #2193 )
functions use radians, making this awkward to use.
3 lat temu
raysan5
599d6e810f
REVIEWED: models resources structure
3 lat temu
Jeffery Myers
33ed452439
Fix dll exports so that raylib builds in visual studio again. ( #2037 )
3 lat temu
Ray
8d7f97ee04
Remove trailing spaces
3 lat temu
raysan5
7439c7547b
Review functions specifiers
3 lat temu
raysan5
b972b8d324
REVIEWED: API functions specifiers
3 lat temu
Ray
f869229b7f
Minor format tweaks
3 lat temu
Ray
239c37246a
WARNING: REVIEWED: Follow a set of conventions
CONVENTIONS:
- Functions are always self-contained, no function use another raymath function inside, required code is directly re-implemented inside
- Functions input parameters are always received by value
- Functions use always a "result" variable for return
- Functions are always defined inline
- Angles are always in radians (DEG2RAD/RAD2DEG macros provided for convenience)
3 lat temu
raysan5
18c92b3104
ADDED: Vector3Angle()
3 lat temu
raysan5
a09311a8fc
Tweaks
3 lat temu