Raylib Extras
Utilities and shared components for use with raylib (https://www.raylib.com/)
Libraries
Raylib Extras is made up of two main libraries,
rlExtrasC
This is a pure C library that can be build static or dynamic (DLL). It contains the following components.
FPCamera
A first person view camera system
TPOrbitCamera
A third person view camera system that orbits a target point based on mouse input
Frustum
Frustum extraction with functions for testing point, sphere, and Axis Alligned Bounding Box against it. Useful for view culling.
RLGeoTools (C)
Geometry Extensions for raylib, including functions to create dynamic meshes.
RLSprites
Sprite Management system
rlExtrasCPP
This is a C++ library that can be build static. It contains the following components.
FPCamera
A first person view camera system with support for user settable near and far clipping planes.
RLSprites
Sprite Management system
RLAssets
A simple asset management system
Building
Raylib Extras uses premake, a premake5.lua file is included in the repository. Simply use it to create the build files for your target system. See https://premake.github.io/ for more info. The repository also uses raylib as a submodule in the raylib folder so it can build the examples.
Examples will be included in the project files generated by premake.
build on windows with visual studio
- download premake5.exe from https://premake.github.io/
- copy it into the raylib extras folder
- run premake.bat
Premake will then generate all the visual studio projects needed. You can open them with the RaylibExtras.sln that will be created in the root folder of the repository.
Other platforms will work in a similar way.
Extra Extras
Premake
Premake scripts for raylib alone and a sample game project.
RLTiles_CPP
Exprimental tiled reading and rendering for raylib.
All compoents are licensed under the MIT license.