wuyize 2023-04-20 13:46:15 +08:00
commit e0a4c25242
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ DemoWorld::DemoWorld()
auto sponza = std::make_shared<Actor>("Models\\Sponza\\Sponza.gltf");
sponza->setScale(glm::vec3(2));
auto shoot = std::make_shared<Actor>("Models\\shoot_gun\\scene.gltf");
shoot->setPosition({ 5,0,-1 });
shoot->setPosition({ 0.25,6.8,7.8 });
shoot->setRotaion(glm::angleAxis(glm::radians(90.f), glm::vec3(0, 1, 0)));
shoot->setScale(glm::vec3(45));
throwPerson = std::make_shared<Actor>("Models\\grenade_throw\\grenade_throw.gltf");