From b872bd904f31dd90757a02e1bdda5598193c7bcc Mon Sep 17 00:00:00 2001 From: omnisci3nce Date: Thu, 18 Jul 2024 12:04:02 +1000 Subject: comment --- examples/game_demo/game_demo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples') 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"); -- cgit v1.2.3-70-g09d2