summaryrefslogtreecommitdiffhomepage
path: root/src/raymath.h
AgeCommit message (Collapse)Author
2021-12-31Update year to 2022raysan5
2021-12-10Reviewed typoRay
2021-12-09Fixed functions Vector2Angle and Vector3Angle (#2203)Andrea Fontana
* Fixed functions Vector2Angle and Vector3Angle * typo * Unrolled everything.
2021-12-07Fix Vector2Angle() not working as expected (#2196)Jaedeok Kim
2021-12-06TweaksRay
2021-12-06Fix inverse length in Vector2Normalize (#2189)HarriP
Following the pattern in Vector3Normalize.
2021-12-06Vector2Angle returns degrees instead of radians, but all other raymath (#2193)Steven Schveighoffer
functions use radians, making this awkward to use.
2021-10-12REVIEWED: models resources structureraysan5
2021-10-07Fix dll exports so that raylib builds in visual studio again. (#2037)Jeffery Myers
2021-10-06Remove trailing spacesRay
2021-10-05Review functions specifiersraysan5
2021-10-05REVIEWED: API functions specifiersraysan5
2021-10-03Minor format tweaksRay
2021-10-03WARNING: REVIEWED: Follow a set of conventionsRay
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)
2021-09-27ADDED: Vector3Angle()raysan5
2021-09-21Tweaksraysan5
2021-08-16Remove trailing spacesRay
2021-08-08Replaced TABS by spacesraysan5
2021-07-30REVIEWED: Added new mechanism to avoid data types collision between modules ↵raysan5
that share same data types and can be used in standalone mode
2021-07-29Reviewed some functions to avoid calling other functionsraysan5
2021-07-29impoves raylib_parser: makes it generic, adds -d key for functions define ↵iskolbin
(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)
2021-07-28Don't normalize zero length vectors. (#1896)Jeffery Myers
2021-07-27REVIEWED: QuaternionFromAxisAngle() #1892raysan5
2021-07-09Minor tweaks and commentsraysan5
2021-06-17Comment tweakRay
2021-06-13Remove trail spacesRay
2021-06-10Review some commentsRay
2021-06-10Reviewed functions descriptionRay
Replaced: Returns -> Get
2021-06-05Minor format tweaksraysan5
2021-06-01Update raymath.h (#1802)isaac553876299
2021-05-29Review code formatRay
2021-05-29Fix QuaternionToMatrix returning transposed result. (#1793)Hristo Stamenov
2021-03-31Review code formattingraysan5
2021-03-23Don't call sqrtf when axis already normalized (#1672)Dan Bechard
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