| 389 | } |
| 390 | |
| 391 | void HPPInstancing::load_assets() |
| 392 | { |
| 393 | rocks.mesh = load_model("scenes/rock.gltf"); |
| 394 | planet.mesh = load_model("scenes/planet.gltf"); |
| 395 | |
| 396 | rocks.texture = load_texture_array("textures/texturearray_rocks_color_rgba.ktx", vkb::scene_graph::components::HPPImage::Color); |
| 397 | planet.texture = load_texture("textures/lavaplanet_color_rgba.ktx", vkb::scene_graph::components::HPPImage::Color); |
| 398 | } |
| 399 | |
| 400 | void HPPInstancing::initialize_camera() |
| 401 | { |
nothing calls this directly
no test coverage detected