summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2021-03-23Update rlgl.hRay
2021-03-23REVIEWED: rlgl_standalone usageRay
2021-03-23Don't call sqrtf when axis already normalized (#1672)Dan Bechard
2021-03-23Fix PATH for other PLATFORM_OS's (#1671)Davidson Francis
The Raylib root Makefile for PLATFORM=PLATFORM_WEB is assumed to run in Windows environments, which makes it incorrectly set the PATH variable, so Linux (and possibly other) environments are not able to find binaries from EMSDK_PATH. Fix this by checking which PLATFORM_OS and configure PATH accordingly.
2021-03-22typecast warning fixes. (#1667)Jeffery Myers
Co-authored-by: Jeffery Myers <[email protected]>
2021-03-22WARNING: BREAKING: REDESIGNED: rlgl moduleRay
- Many functions renamed to follow rl*() convention - Some internal functions exposed in the API - Some functionality moved to other modules - Reorganized all functions by categories - Make sure it keeps working with OpenGL 1.1 and 2.1
2021-03-22Review latest PR and some formattingRay
2021-03-22[AUDIO] Music Looping enhancements (#1665)Jeffery Myers
* Add loop functions for music files. Tell xm tracker to loop tracker when loop state changes. Don't let looped xm tracker streams restart, they are infinite Use modulo to make time tracker for xm looped streams work correctly. * Remove loop functions, set XM loop in update based on flag. Formatting cleanups. Co-authored-by: Jeffery Myers <[email protected]>
2021-03-21[AUDIO] Use device native sample rates (#1660)Jeffery Myers
* Init MinAudio to a sample rate of 0 to let the device pick the rate. Read the rate from the device after it starts up. Convert AUDIO_DEVICE_SAMPLE_RATE from a #def into an int, that is set from the device's rate Set all sample systems to use the AUDIO_DEVICE_SAMPLE_RATE as the target rate to minimize resampling. * use device sample rate instead of separate var let config define a device sample rate if it wants to, but let the default be 0 for native rate. * Don't use fixed sample rates for tracker files. Remove config default audio buffer size and replace with a function that computes one for a reasonable frame rate at the output sample rate.
2021-03-21REVIEWED: rlgl module #1523Ray
2021-03-21Reverting align change #1658Ray
2021-03-21WARNING: BREAKING: rlgl module redesign -WIP-Ray
- Some rlgl functions have been moved to core - Some functions have been made internal to rlgl - rlgl functions prefixed with rl*()
2021-03-20Fixed possible issue with memory alignment #1658Ray
2021-03-20Corrected issue with HighDPI on macOSRay
2021-03-20Review HighDPI macOS support #1510Ray
2021-03-20Considering the window's scale when setting the viewport. (#1659)Sean Heber
This appears to fix the issue with macOS windows opening with the wrong scale.
2021-03-20BIG CHANGE: REDESIGNED: Vr device simulator #1582Ray
Vr simulator has been moved to core module and completely redesigned. Now user is in charge of stereo-render fbo and also in full control of distortion shader. Code is a bit more complex but better aligned with other raylib examples.
2021-03-20Added KEY_NULL #520Ray
2021-03-20Merge branch 'master' of https://github.com/raysan5/raylibRay
2021-03-20REVIEWED: HighDPI support on macOS retina #1510Ray
2021-03-20Fixed funny typo mistake... (#1657)Rabia Alhaffar
2021-03-19Updated example assetsRay
2021-03-19REVIEWED: BeginMode3D()Ray
2021-03-19Removed trailing spacesRay
2021-03-19Reviewed latest PR: formatting and some commentsRay
2021-03-19Optimize DrawTexturePro and DrawRectanglePro transformations (#1632)Chris
* Optimize DrawTexturePro and DrawRectanglePro transformations - Add check so rotation is only applied if rotation != 0.0f. - Replace matrix usage by calculating the vertex data directly. * Fix error with windows build and trim whitespace
2021-03-19Changed DrawRing and DrawCircleSector angle params from int to float to ↵frithrah
allow greater accuracy. (#1656) Co-authored-by: Simon <[email protected]>
2021-03-19REVIEWED: QuaternionFromEuler() #1651Ray
2021-03-19REMOVED: GetMouseCursor()Ray
This function could be confusing depending on the context, it's better to let the user track the current active cursor
2021-03-19WARNING: REMOVED: GamepadNumber enumRay
2021-03-19WARNING: BREAKING: RENAMED: camera.type to camera.projectionRay
2021-03-19REVIEWED: BeginMode3D()Ray
Simplified some code
2021-03-19WARNING: BREAKING: REVIEWED some enums namingRay
Now enum names are more consistent between them.
2021-03-18REVIEWED: Material params #1649Ray
Just assigned a fixed memory size for custom Material parameters in case of being required, so we shouldn't worry about allocating/freeing them.
2021-03-18REVIEWED: MatrixRotateZYX() #1642Ray
2021-03-18REVIEWED: DrawLine3D() #1643Ray
2021-03-18REVIEWED: QuaternionFromEuler() #1651Ray
2021-03-17Update textures.cRay
2021-03-17Support instancing in OpenGL ES 2.0 if availableRay
Checking for extension and enabling it if available
2021-03-17Update to latest emscriptenRay
2021-03-14Implement UnloadModelAnimations (#1648)Hristo Stamenov
2021-03-14Added some comments on libc dependenciesRay
2021-03-14Use UnloadFileData()Ray
2021-03-14Improve gltf support (#1647)Hristo Stamenov
* Implement a load values from accessor function. Added some more value types for the different GLTF attributes. Fixed crash when loading animated triangle. * Split GLTF model loading into separate functions for readability. * Fixed the already working models that I broke when introducing GLTFReadValue. Improved the example for gltf models to be able to switch between a few models. * Removed license from screen. It is pu inside a license file anyway. * Small improvements on the naming of functions Removed (*model). and replaced it with model->
2021-03-14WARNING: VERY BREAKING CHANGE: Renamed some enum values for consistencyRay
Some enums values have been renamed to be more consistent and also provide a more detailed description: - ShaderLocationIndex: LOC_VERTEX_POSITION -> SHADER_SHADER_LOC_VERTEX_POSITION - ShaderUniformDataType: UNIFORM_VEC2 -> SHADER_UNIFORM_VEC2 - MaterialMapType: MAP_ALBEDO -> MATERIAL_MAP_ALBEDO - PixelFormat: UNCOMPRESSED_GRAYSCALE -> PIXELFORMAT_UNCOMPRESSED_GRAYSCALE
2021-03-12Renamed some functions to use latest raylib versionRay
2021-03-12Add config flag: SUPPORT_WINMM_HIGHRES_TIMER #1641Ray
Useful to avoid WinMM requirement and useful to avoid possible performance issues.
2021-03-12Minor tweak to avoid warningRay
2021-03-09Gltf model and animations exploring problems (#1635)Hristo Stamenov
* Added bone binding to whole mesh and not only set vertices. + Also added missed setting of the animation count. + Removed double ; on one line * Added more of the gltf sample models https://github.com/KhronosGroup/glTF-Sample-Models We need to make it working for all of them. * Binding to initial bind pose added. * Fix cube disappearing bug because lerpPercent could be Inf. * Fixed for rigged figure also
2021-03-09Merge branch 'master' of https://github.com/raysan5/raylibRay