Ray
a5beb940f8
Remove trailing spaces
vor 4 Jahren
raysan5
311fe8f35b
Replaced TABS by spaces
vor 4 Jahren
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
vor 4 Jahren
raysan5
58e9a0894f
Reviewed some functions to avoid calling other functions
vor 4 Jahren
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 )
vor 4 Jahren
Jeffery Myers
c706b33b30
Don't normalize zero length vectors. ( #1896 )
vor 4 Jahren
raysan5
70ed52dd5d
REVIEWED: QuaternionFromAxisAngle() #1892
vor 4 Jahren
raysan5
5ed814e950
Minor tweaks and comments
vor 4 Jahren
Ray
f3d38018cd
Comment tweak
vor 4 Jahren
Ray
4b93feb172
Remove trail spaces
vor 4 Jahren
Ray
7bc2e922c9
Review some comments
vor 4 Jahren
Ray
b0dcdf688f
Reviewed functions description
Replaced: Returns -> Get
vor 4 Jahren
raysan5
e95d8bc655
Minor format tweaks
vor 4 Jahren
isaac553876299
d1ac38171c
Update raymath.h ( #1802 )
vor 4 Jahren
Ray
c828e481fb
Review code format
vor 4 Jahren
Hristo Stamenov
beeac18eb1
Fix QuaternionToMatrix returning transposed result. ( #1793 )
vor 4 Jahren
raysan5
8f1d81df0f
Review code formatting
vor 4 Jahren
Dan Bechard
5325d8d2ba
Don't call sqrtf when axis already normalized ( #1672 )
vor 4 Jahren
Ray
9909068714
Removed trailing spaces
vor 4 Jahren
Ray
fe9181c1b4
REVIEWED: QuaternionFromEuler() #1651
vor 4 Jahren
Ray
ca1f2f9078
REVIEWED: MatrixRotateZYX() #1642
vor 4 Jahren
Ray
2b9d81c9bc
REVIEWED: QuaternionFromEuler() #1651
vor 4 Jahren
Ray
742206c1f2
Review formatting
vor 4 Jahren
masterex1000
4e6253b546
Add check to flip quaternion ( #1624 )
vor 4 Jahren
Jeffery Myers
48a7cd3c87
[Examples] Fix typecast warnings in examples. ( #1601 )
* Fixing typecast warnings generated by visual studio 2019 in examples.
* Changes to fixes based on feedback
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
vor 4 Jahren
Jeffery Myers
2375464213
[Physics] Fix typecast warnings generated by visual studio 2019 ( #1599 )
* More warning fixes for physics and math
* fix a crash introduced with the warning changed.
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
vor 4 Jahren
raysan5
d7b4b9e485
Update year to 2021
vor 4 Jahren
raysan5
b78ee13791
ADDED: CheckCollisionLines()
Removed function from raymath
vor 5 Jahren
Victor Gallet
668b3e4cfb
[Math Feature]: Add two functions for Vector2 to know if two lines intersect and two segments intersect ( #1466 )
* Add a function to know if two lines intersect each other and if yes, get the intersection point
* Remove indents
* Rework the declaration of the 'Vector2LineIntersect' function, and add the 'Vector2SegmentIntersect' function
* Remove bad indents
* Fix compilation issues
* Fix compilation error
* Fix compilation error
* Replace keyword '_Bool' by 'bool'
vor 5 Jahren
Random
0322fc28d4
optimized MatrixLookAt ( #1442 )
vor 5 Jahren
Ray
3e1cd487df
Remove trailing spaces
vor 5 Jahren
Ray
a4ea9f872f
Review "aggregate initializations" #1403
vor 5 Jahren
Daniel-Junior Dubé
a8685ee4fd
Add Vector2Reflect to raymath.h ( #1400 )
Vector3Reflect exists but not Vector2Reflect. The code is pretty much the same.
I'm not sure what RMDEF does, but I added it to match other function definitions (haven't done much C programming, maybe I'm missing something). Can someone explain to me what it does?
vor 5 Jahren
seanpringle
4bcddc3b15
[wip] rlDrawMeshInstanced ( #1318 )
* rlDrawMeshInstanced first attempt
* rlDrawMeshInstanced OpenGL 3.3 and VAO checks
* rlDrawMeshInstanced GetShaderAttribLocation; comments
* example instanced shader
* RLGL_STANDALONE RAYMATH_STANDALONE Vector4
* apply suggested naming changes; add instanced mesh example
* remove orphan variables
vor 5 Jahren
raysan5
05cdaf7d01
MOVED: rlUnproject() [rlgl] -> Vector3Unproject() [raymath]
vor 5 Jahren
raysan5
d0ebeb1713
Reorder some functions
vor 5 Jahren
raysan5
ea832628c4
Review last PR formatting to follow raylib standards
vor 5 Jahren
chriscamacho
d140dc81c0
work on quat and matrix math - deleted multiple copies of raymath.h causing issues ( #1359 )
Co-authored-by: codifies <nospam@antispam.com>
vor 5 Jahren
jvocaturo
6e84120b89
fix bug in QuaternionFromVector3ToVector3 ( #1263 )
vor 5 Jahren
Noor Wachid
abb94bd2ff
Adding Normalize and Remap functions ( #1247 )
* Adding Norm and Remap functions
// Normalize input value within input range
// Remap input value within input range to output range
* Rename Norm to Normalize
To make it uniforms with Raylib's functions
* Calculate Remap without other functions
vor 5 Jahren
ThePituLegend
d14c51aa2a
Introduced Vector2 and Vector3 Square Lenght. ( #1248 )
* Introduced Vector2 and Vector3 Square Lenght.
* Square length functions renamed
vor 5 Jahren
raysan5
b8055925bf
Update raymath.h
vor 5 Jahren
raysan5
af744b07c3
Review latest PR formatting
vor 5 Jahren
Anata
4583987fb9
Add Vector2MoveTowards function ( #1233 )
vor 5 Jahren
G3bE
32387317bf
Make raymath more consistent ( #1197 )
* Make raymath naming and functions more consistent
* Minor fixes
* Fix examples
* Fix Physac
* New naming rules
* Apply naming to Quaternion functions
* Apply to models.c
* Remove *MulitplyValue / *DivideValue
vor 5 Jahren
Valentin Lemière
41582f0448
Fix "variable is reassigned before use" linter warning on raymath.h ( #1158 )
vor 5 Jahren
i-right-i
3c2ee1cc75
Update raymath.h ( #1118 )
* Update raymath.h
Added Vector2Rotate Function.
* Update raymath.h
vor 5 Jahren
Ray
9b5a796213
Use float math functions
vor 5 Jahren
Ray
b5fe41f41a
Review libc dependencies and remove when possible
Just for clarification, no plans to remove libc dependency, just did some code analysis to see how much raylib depend on stardard C library. My conclusions:
- stdlib.h: primary dependency is for malloc() and free()
- stdio.h: primary dependency is for FILE access, maybe it could go through a custom ABI?
- string.h: just around 8 functions required
- math.h: just around 8 functions required
- others: 1-2 functions required for some other headers
vor 5 Jahren
Ray
fa0d5bbf9e
Remove duplicate function
vor 5 Jahren