Ray
2a2c9e4da8
minor tweaks
pirms 3 gadiem
Ray
fd191a32ea
Remove trailing spaces
pirms 3 gadiem
Nikolay Krasheninnikov
52345fd883
[raymath] Rotation functions returns clockwise rotation matrix, #2595 ( #2599 )
Co-authored-by: Nikolai Krasheninnikov <nikolai.krasheninnikov@kronshtadt.ru>
pirms 3 gadiem
Ray
7b05444af8
Review comments and parameter names
pirms 3 gadiem
Crydsch
00c7509454
add Vector3RotateByAxisAngle ( #2590 )
pirms 3 gadiem
hitomi kirigri
64710e6030
fix QuaternionFromMatrix & QuaternionEquals ( #2591 )
Co-authored-by: kirigiri hitomi <chenjw@hiscene.com>
pirms 3 gadiem
George Linkovsky
b40696eab6
Fix Vector3ClampValue and Vector2ClampValue ( #2585 )
Co-authored-by: Timofffee <timofffee@gmail.com>
pirms 3 gadiem
Jeffery Myers
e9029d3d00
[CORE] Fix Warnings ( #2582 )
* Fix raymath warning with floor to floorf
* signed unsigned missmatches
pirms 3 gadiem
Pijus
c392f0c16b
Add wrap ( #2522 )
* add wrap function
* fixed Wrap function wrapping wrong
pirms 3 gadiem
Ray
377dcef9f4
Revert "add wrap function ( #2521 )"
This reverts commit 81157e4e72 .
pirms 3 gadiem
Pijus
81157e4e72
add wrap function ( #2521 )
pirms 3 gadiem
Ray
ed2ab55034
Remove line ending spaces
pirms 3 gadiem
Ray
233cf3970c
Removed bool type from raymath, it broke raylib
pirms 3 gadiem
Ray
015a71fc40
Update raymath.h
pirms 3 gadiem
Ray
be3ae71aec
Review new functions formatting
pirms 3 gadiem
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}
pirms 3 gadiem
Satoshi Tanaka
5abb87a0d2
Fix QuaternionScale ( #2419 )
pirms 3 gadiem
Ray
cfe7823453
REMOVED: `MatrixNormalize()` #2412
pirms 3 gadiem
Ray
c2c1c93041
Corrected typo
pirms 3 gadiem
Ray
0da7830745
REVIEWED: Avoid some float -> double promotions
pirms 3 gadiem
Anilforextra
cda1324e87
Vector2/Vector3: Add squared distance. ( #2376 )
pirms 3 gadiem
Jaedeok Kim
b54e9db764
Optimize `Vector2Rotate()` function ( #2340 )
pirms 3 gadiem
megagrump
c54d9cd552
simplify QuaternionInvert ( #2324 )
pirms 3 gadiem
Ray
48a463cca8
REVIEWED: `Vector2Transform(()`
pirms 3 gadiem
Ray
8ee0eb8f36
ADDED: `Vector2Transform()`
pirms 3 gadiem
raysan5
a940f41b4b
Update year to 2022
pirms 3 gadiem
Ray
20f4d8c147
Reviewed typo
pirms 4 gadiem
Andrea Fontana
c0715c1225
Fixed functions Vector2Angle and Vector3Angle ( #2203 )
* Fixed functions Vector2Angle and Vector3Angle
* typo
* Unrolled everything.
pirms 4 gadiem
Jaedeok Kim
72f3b00b00
Fix Vector2Angle() not working as expected ( #2196 )
pirms 4 gadiem
Ray
e7f48eb16b
Tweaks
pirms 4 gadiem
HarriP
3cb4ef2599
Fix inverse length in Vector2Normalize ( #2189 )
Following the pattern in Vector3Normalize.
pirms 4 gadiem
Steven Schveighoffer
fa7337e19c
Vector2Angle returns degrees instead of radians, but all other raymath ( #2193 )
functions use radians, making this awkward to use.
pirms 4 gadiem
raysan5
599d6e810f
REVIEWED: models resources structure
pirms 4 gadiem
Jeffery Myers
33ed452439
Fix dll exports so that raylib builds in visual studio again. ( #2037 )
pirms 4 gadiem
Ray
8d7f97ee04
Remove trailing spaces
pirms 4 gadiem
raysan5
7439c7547b
Review functions specifiers
pirms 4 gadiem
raysan5
b972b8d324
REVIEWED: API functions specifiers
pirms 4 gadiem
Ray
f869229b7f
Minor format tweaks
pirms 4 gadiem
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)
pirms 4 gadiem
raysan5
18c92b3104
ADDED: Vector3Angle()
pirms 4 gadiem
raysan5
a09311a8fc
Tweaks
pirms 4 gadiem
Ray
a5beb940f8
Remove trailing spaces
pirms 4 gadiem
raysan5
311fe8f35b
Replaced TABS by spaces
pirms 4 gadiem
raysan5
b4fddf146b
REVIEWED: Added new mechanism to avoid data types collision between modules that share same data types and can be used in standalone mode
pirms 4 gadiem
raysan5
58e9a0894f
Reviewed some functions to avoid calling other functions
pirms 4 gadiem
iskolbin
6ef3ab3d3a
impoves raylib_parser: makes it generic, adds -d key for functions define (RLAPI for raylib.h), increases maxiumum number of fields in structs and values in enums, doubles max length of struct field names; split float3/float16 struct typedefs in raymath to allow parser to process the file ( #1901 )
pirms 4 gadiem
Jeffery Myers
c706b33b30
Don't normalize zero length vectors. ( #1896 )
pirms 4 gadiem
raysan5
70ed52dd5d
REVIEWED: QuaternionFromAxisAngle() #1892
pirms 4 gadiem
raysan5
5ed814e950
Minor tweaks and comments
pirms 4 gadiem
Ray
f3d38018cd
Comment tweak
pirms 4 gadiem