diff options
author | Frederico Linhares <fred@linhares.blue> | 2022-09-27 17:38:20 -0300 |
---|---|---|
committer | Frederico Linhares <fred@linhares.blue> | 2022-09-29 11:37:05 -0300 |
commit | d7d79214a93bc96b38ac018aad4c8d5ee88d51ca (patch) | |
tree | 25528c9bd91556f3d1d5d35a5d2c52d3d7d8a5a8 /src/main.cpp | |
parent | 28de1fe8713aba2c4bb23fc8640adb2747373b66 (diff) |
feat Allow multiple textures to be used with the same mesh
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index d818c8f..178fcbb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,6 +20,7 @@ #include "candy_gear.hpp" #include "core.hpp" #include "key.hpp" +#include "mesh.hpp" #include "model.hpp" #include "rotation_3d.hpp" #include "sound.hpp" @@ -64,6 +65,7 @@ int main(int argc, char *argv[]) mrb_define_module(cg_core.mrb, "CandyGear"); cg_candy_gear_init(cg_core.mrb); cg_key_init(cg_core.mrb); + cg_mesh_init(cg_core.mrb); cg_model_init(cg_core.mrb); cg_rotation_3d_init(cg_core.mrb); cg_sound_init(cg_core.mrb); |