This is a little template that gives you small start to begin with raylib. Instead of the traditional example of opening a window, this example aims to create a more dynamic and interesting one. It was a rotating cube, using different modules of raylib, such as raygui, rlgl and raymath.
This was tested on Linux and Windows 10, using CLion and VScode. Feel free to contribute 😃.
If you have python installed on your computer, make the necessary configurations on the setup.py
file and run the script.
If you compiled raylib from source, copy the raylib.h
,raymath.h
and rlgl.h
files located at (raylib/src/
) to the include
folder of this project. You will also need the raygui.h
file, there is a copy at raylib/examples/shapes
, but is recommended that you use the version of the official repo. After that, just copy the compiled file libraylib.a
(raylib/libraylib.a
on linux or raylib/src/libraylib.a
on Windows) to the lib
folder of this project.
If you want, you can download the binaries correspondent to your platform, extract them and move the include
and lib
folders to the ones with the correspondent names in this project. After that, put necessary dependencies for this project (raygui, rlgl e raymath) in the include
folder.