summaryrefslogtreecommitdiffhomepage
path: root/src/raymath.h
AgeCommit message (Collapse)Author
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
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