summaryrefslogtreecommitdiffhomepage
path: root/examples
AgeCommit message (Collapse)Author
2021-06-10Added missing null terminator (#1820)Francisco Javier Andrés Casas Barrientos
Added missing null terminator when adding characters to the string, otherwise garbage values are read (often zeros which are equal to '\0', but not every time). This error results in random characters appearing in the text box every one in a while: ``` asdfg??? ll?? ``` It is corrected with the proposed fix. This problem was observed by my student, Gonzalo Rivera Lazo.
2021-06-03WARNING: BREAKING: Consistency renamingsRay
RENAMED: InitAudioStream() -> LoadAudioStream() RENAMED: CloseAudioStream() -> UnloadAudioStream()
2021-06-03Update models_material_pbr.cRay
2021-06-03Update models_mesh_picking.cRay
2021-06-03Review code formattingRay
2021-06-03Better collisions (#1803)Crydsch
* review collisions ray-box and ray-sphere * Applied raysan's refactor Improved GetRayCollisionBox * Replace GetRayCollisionGround with GetCollisionQuad * Update example core_3d_picking * Update example models_loading * Fixed issues after merge * remove debug stuff Co-authored-by: Cry dsch <[email protected]>
2021-06-03Reviewed example: core_split_screenRay
2021-06-03Add a split screen example showing render texture use and multiple cameras. ↵Jeffery Myers
(#1806) Co-authored-by: Jeffery Myers <[email protected]>
2021-05-31Update MakefileRay
2021-05-31Update MakefileRay
2021-05-31Update models_loading.cRay
2021-05-31Update text_draw_3d.cRay
2021-05-31Update core_3d_picking.cRay
2021-05-31WARNING: BREAKING: RENAMED: RayHitInfo to RayCollision #1781Ray
- RENAMED: RayHitInfo to RayCollision - RENAMED/REDESIGNED: Multiple Ray collision functions to be more consistent and return RayCollision data -WIP-
2021-05-26Implement vertex color attribute for GLTF and IQM (#1790)Hristo Stamenov
Added a simple cube with vertex colors for testing both.
2021-05-26REVIEWED: models_skybox #1792 #1778Ray
2021-05-22Remove headers from shadersRay
2021-05-20WARNING: RENAMED: MeshBoundingBox() -> GetMeshBoundingBox()Ray
Renamed for consistency with other function in raylib.
2021-05-20Update VS2019 project: rlgl_standaloneRay
2021-05-14Hotfix for smooth pixel-perfect camera example ↵Gianni Alessandroni
[core_2d_camera_smooth_pixelperfect.c] (#1771) * Hotfix for glitchy camera Super small fix that was causing the camera to glitch every x amount of seconds/pixels. Works much better now, 3/4 lines changed. * fixed dumb visual studio formatting problems
2021-05-10Added smooth pixel-perfect camera example + Small typo fix in ↵Gianni Alessandroni
examples_template.c (#1760) * Typo fix Changed "bsasic" to "basic" in the comments. * Added pixel-perfect camera example Added pixel-perfect camera example, both the .c file and the cover .png image. The example works with any resolution you want, as long as the ratio stays the same (ex. 16:9, 4:3) ecc. * Fixed Typecasts Fixed compiler errors (implicit conversions) * Precomputed rectangles, time-based movement and whitespace fix Moved the source and destination rectangles for the renderTexture into their own variables, modified the animation to be time-based instead of frame-based, fixed the bug with whitespaces. * Fixed spacing and added more consistency with sinf() and cosf() * Fixed *= operator spacing
2021-05-10Add RenderPolyLinesEx routine (#1758)Lambert Wang
Co-authored-by: Lambert Wang <[email protected]>
2021-05-08Added support for additional mouse buttons (#1753)Lambert Wang
* Added support for additional mouse buttons * Renamed mouse button enum Co-authored-by: Lambert Wang <[email protected]>
2021-05-07REVIEWED: raudio_standalone #1752Ray
2021-05-04Update raylib versionRay
2021-04-26Generate a mesh in client code. (#1735)Jeffery Myers
2021-04-25Fixes for 64 bit typecast warnings (#1733)Jeffery Myers
2021-04-23Update README.mdRay
2021-04-23Update shaders_mesh_instancing.cRay
2021-04-22Remove trail spacesRay
2021-04-22Added screenshotsRay
2021-04-22Update README.mdRay
2021-04-21Reviewed templates MakefilesRay
2021-04-19[examples] Added an example for raylib OpenGL interop (#1726)Stephan Soller
* Added an example for raylib OpenGL interop. * Removed C99 variable-length array to fix MSVC errors * Moved the opengl interop example from shaders to others.
2021-04-19Added zoom independent sharp edges to the SDF text example. (#1727)Stephan Soller
2021-04-16Fix old directories used and windows/linux portability (#1722)noloop
* Fix olds directories used and windows/linux portability * Fix windows/linux portability
2021-04-14Update MakefileRay
2021-04-07Update core_vr_simulator.cRay
2021-04-07Update core_vr_simulator.cRay
2021-04-07Update shaders_julia_set.cRay
2021-04-07Update core_vr_simulator.cRay
2021-04-06REDESIGNED: Vr stereo modeRay
2021-04-06Reviewed Vr stereoRay
2021-04-06REDESIGNED: Vr stereo renderingRay
2021-04-06Minimum number of segments in circle sector functions changed from ↵frithrah
hard-coded to based on degree range. (#1707) Co-authored-by: Simon <[email protected]>
2021-04-02Reviewed skybox and pbr examplesraysan5
2021-04-02Reviewed examplesraysan5
2021-04-02REDESIGN: Move GenTexture*() functions to PBR example #721raysan5
Removed functions from rlgl module.
2021-04-01Update core_input_gamepad.craysan5
2021-03-31ADDED: Support model normal matrix location #1691raysan5