summaryrefslogtreecommitdiffhomepage
path: root/src/raymath.h
AgeCommit message (Collapse)Author
2021-03-19Removed trailing spacesRay
2021-03-19REVIEWED: QuaternionFromEuler() #1651Ray
2021-03-18REVIEWED: MatrixRotateZYX() #1642Ray
2021-03-18REVIEWED: QuaternionFromEuler() #1651Ray
2021-03-02Review formattingRay
2021-03-02Add check to flip quaternion (#1624)masterex1000
2021-02-20[Examples] Fix typecast warnings in examples. (#1601)Jeffery Myers
* Fixing typecast warnings generated by visual studio 2019 in examples. * Changes to fixes based on feedback Co-authored-by: Jeffery Myers <[email protected]>
2021-02-20[Physics] Fix typecast warnings generated by visual studio 2019 (#1599)Jeffery Myers
* More warning fixes for physics and math * fix a crash introduced with the warning changed. Co-authored-by: Jeffery Myers <[email protected]>
2021-01-02Update year to 2021raysan5
2020-12-23ADDED: CheckCollisionLines()raysan5
Removed function from raymath
2020-12-21[Math Feature]: Add two functions for Vector2 to know if two lines intersect ↵Victor Gallet
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'
2020-11-29optimized MatrixLookAt (#1442)Random
2020-11-03Remove trailing spacesRay
2020-10-05Review "aggregate initializations" #1403Ray
2020-10-04Add Vector2Reflect to raymath.h (#1400)Daniel-Junior Dubé
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?
2020-09-27[wip] rlDrawMeshInstanced (#1318)seanpringle
* 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
2020-09-01MOVED: rlUnproject() [rlgl] -> Vector3Unproject() [raymath]raysan5
2020-08-23Reorder some functionsraysan5
2020-08-23Review last PR formatting to follow raylib standardsraysan5
2020-08-23work on quat and matrix math - deleted multiple copies of raymath.h causing ↵chriscamacho
issues (#1359) Co-authored-by: codifies <[email protected]>
2020-05-27fix bug in QuaternionFromVector3ToVector3 (#1263)jvocaturo
2020-05-15Adding Normalize and Remap functions (#1247)Noor Wachid
* 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
2020-05-14Introduced Vector2 and Vector3 Square Lenght. (#1248)ThePituLegend
* Introduced Vector2 and Vector3 Square Lenght. * Square length functions renamed
2020-05-01Update raymath.hraysan5
2020-05-01Review latest PR formattingraysan5
2020-05-01Add Vector2MoveTowards function (#1233)Anata
2020-04-13Make raymath more consistent (#1197)G3bE
* 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
2020-03-29Fix "variable is reassigned before use" linter warning on raymath.h (#1158)Valentin Lemière
2020-03-02Update raymath.h (#1118)i-right-i
* Update raymath.h Added Vector2Rotate Function. * Update raymath.h
2020-02-26Use float math functionsRay
2020-02-04Review libc dependencies and remove when possibleRay
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
2020-01-23Remove duplicate functionRay
2020-01-23WARNING: Renamed Vector3Multiply() to Vector3Scale()Ray
Renamed for consistency with Vecto2Scale() Also renamed Vector3MultiplyV() to Vector3Multiply()
2020-01-05Update year to 2020raysan5
2019-08-09addition to raylib to create matrix from 3 euler angles (#938)chriscamacho
2019-08-03Replace tabs with spaces and update year of copyright notices (#927)Leandro Gabriel
* Update year of copyright notices * Fix mistake in comment * Fix typo ("algorythms") * Replace tabs with spaces * Remove trailing whitespace and fix mistake in comment * Fix ExportImageAsCode missing comment rectangle corner * Replace tab with spaces * Replace tabs with spaces
2019-04-13Merge pull request #799 from flashjaysan/masterRay
Update raymath.h
2019-04-13Update raymath.hflashjaysan
Removed a useless semicolon.
2018-10-24Reviewed functions definitionRay
2018-10-13Corrected func name typoraysan5
2018-09-13Merge pull request #641 from ChrisDill/masterRay
Added a few missing functions to raymath
2018-09-13Added a few missing functions to raymathChrisDill
- Added Vector2MultiplyV - Added Vector2DivideV - Added Vector3Divide - Added Vector3DivideV
2018-08-21lerp for vector2 and floatOğuzhan Çankaya
2018-08-16Improved raymath definesChrisDill
- Using raylib.h as reference, added define checks for BUILD_LIBTYPE_SHARED and USE_LIBTYPE_SHARED.
2018-08-16Raymath dllexport fix if _WIN32 definedChrisDill
- Added check for dllexport to compile if _WIN32 defined. - If not defined then use the original RMDEF.
2018-08-16Raymath dllexport fixChrisDill
- Added __declspec(dllexport) to RMDEF in raymath.h. This allows them to be accessed when importing from raylib.dll.
2018-08-05Fix compiler warings in texture.c and more.Kim Kulling
2018-08-04Fix compiler warnings, first partKim Kulling
2018-07-02Added Quaternion typedefRay
2018-06-30Added function: Vector3RotateByQuaternion()Ray
Rotate a Vector3 by a Quaternion