diff options
author | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-18 12:04:02 +1000 |
---|---|---|
committer | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-18 12:04:02 +1000 |
commit | b872bd904f31dd90757a02e1bdda5598193c7bcc (patch) | |
tree | a14e3729137cc7bc46c719783227d4129f46e5d2 /examples | |
parent | 4d198fe4f5cbe9e022776bdbd0bd8ec8094c8953 (diff) |
comment
Diffstat (limited to 'examples')
-rw-r--r-- | examples/game_demo/game_demo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/game_demo/game_demo.c b/examples/game_demo/game_demo.c index 73c879c..0287f93 100644 --- a/examples/game_demo/game_demo.c +++ b/examples/game_demo/game_demo.c @@ -49,7 +49,8 @@ int main() { // --- Models // ModelHandle player_model = ModelLoad_gltf("Player Model", "assets/demo/player.gltf"); // ModelHandle sword_model = ModelLoad("Sword Model", "assets/demo/sword.gltf"); - // create a wooden crate + + // create a wooden crate - loads mesh and material directly rather than via loading a model from a gltf file Geometry cube_geo = Geo_CreateCuboid(f32x3(2.0, 2.0, 2.0)); Mesh crate_mesh = Mesh_Create(&cube_geo, false); // dont free as we may use later TextureHandle albedo_map = TextureLoadFromFile("assets/demo/crate/Wood_Crate_001_basecolor.jpg"); |