| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fixing typecast warnings generated by visual studio 2019 in examples.
* Changes to fixes based on feedback
Co-authored-by: Jeffery Myers <[email protected]>
|
|
* More warning fixes for physics and math
* fix a crash introduced with the warning changed.
Co-authored-by: Jeffery Myers <[email protected]>
|
|
|
|
Removed function from raymath
|
|
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'
|
|
|
|
|
|
|
|
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?
|
|
* 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
|
|
|
|
|
|
|
|
issues (#1359)
Co-authored-by: codifies <[email protected]>
|
|
|
|
* 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
|
|
* Introduced Vector2 and Vector3 Square Lenght.
* Square length functions renamed
|
|
|
|
|
|
|
|
* 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
|
|
|
|
* Update raymath.h
Added Vector2Rotate Function.
* Update raymath.h
|
|
|
|
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
|
|
|
|
Renamed for consistency with Vecto2Scale()
Also renamed Vector3MultiplyV() to Vector3Multiply()
|
|
|
|
|
|
* 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
|
|
Update raymath.h
|
|
Removed a useless semicolon.
|
|
|
|
|
|
Added a few missing functions to raymath
|
|
- Added Vector2MultiplyV
- Added Vector2DivideV
- Added Vector3Divide
- Added Vector3DivideV
|
|
|
|
- Using raylib.h as reference, added define checks for BUILD_LIBTYPE_SHARED and USE_LIBTYPE_SHARED.
|
|
- Added check for dllexport to compile if _WIN32 defined.
- If not defined then use the original RMDEF.
|
|
- Added __declspec(dllexport) to RMDEF in raymath.h. This allows them to be accessed when importing from raylib.dll.
|
|
|
|
|
|
|
|
Rotate a Vector3 by a Quaternion
|