add grenade_throw model
|
@ -0,0 +1,11 @@
|
|||
Model Information:
|
||||
* title: Grenade Throw
|
||||
* source: https://sketchfab.com/3d-models/grenade-throw-52d6ac86d0d54a1bbf2f00035d570459
|
||||
* author: JeremyFin (https://sketchfab.com/JeremyFin)
|
||||
|
||||
Model License:
|
||||
* license type: CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)
|
||||
* requirements: Author must be credited. Commercial use is allowed.
|
||||
|
||||
If you use this 3D model in your project be sure to copy paste this credit wherever you share it:
|
||||
This work is based on "Grenade Throw" (https://sketchfab.com/3d-models/grenade-throw-52d6ac86d0d54a1bbf2f00035d570459) by JeremyFin (https://sketchfab.com/JeremyFin) licensed under CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)
|
After Width: | Height: | Size: 2.8 MiB |
After Width: | Height: | Size: 2.4 MiB |
After Width: | Height: | Size: 850 KiB |
Before Width: | Height: | Size: 976 KiB After Width: | Height: | Size: 976 KiB |
Before Width: | Height: | Size: 816 KiB After Width: | Height: | Size: 816 KiB |
Before Width: | Height: | Size: 282 KiB After Width: | Height: | Size: 282 KiB |
Before Width: | Height: | Size: 405 KiB After Width: | Height: | Size: 405 KiB |
Before Width: | Height: | Size: 440 KiB After Width: | Height: | Size: 440 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 499 KiB After Width: | Height: | Size: 499 KiB |
Before Width: | Height: | Size: 425 KiB After Width: | Height: | Size: 425 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 269 KiB After Width: | Height: | Size: 269 KiB |
Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 120 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 530 KiB After Width: | Height: | Size: 530 KiB |
Before Width: | Height: | Size: 514 KiB After Width: | Height: | Size: 514 KiB |
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 51 KiB |
Before Width: | Height: | Size: 442 KiB After Width: | Height: | Size: 442 KiB |
Before Width: | Height: | Size: 441 KiB After Width: | Height: | Size: 441 KiB |
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 88 KiB |
Before Width: | Height: | Size: 425 KiB After Width: | Height: | Size: 425 KiB |
Before Width: | Height: | Size: 474 KiB After Width: | Height: | Size: 474 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
|
@ -20,15 +20,20 @@ DemoWorld::DemoWorld()
|
|||
actor3->setPosition({ -1,0,-1 });
|
||||
auto sponza = std::make_shared<Actor>("Models\\Sponza\\Sponza.gltf");
|
||||
sponza->setScale(glm::vec3(2));
|
||||
auto shoot = std::make_shared<Actor>("Models\\shootgun\\scene.gltf");
|
||||
auto shoot = std::make_shared<Actor>("Models\\shoot_gun\\scene.gltf");
|
||||
shoot->setPosition({ 5,0,-1 });
|
||||
shoot->setScale(glm::vec3{ 50 });
|
||||
shoot->setScale(glm::vec3{ 45 });
|
||||
|
||||
auto grenade_throw = std::make_shared<Actor>("Models\\grenade_throw\\scene.gltf");
|
||||
grenade_throw->setPosition({ -5,0,-1 });
|
||||
grenade_throw->setScale(glm::vec3{ 45 });
|
||||
|
||||
addActor(actor);
|
||||
addActor(actor2);
|
||||
addActor(actor3);
|
||||
addActor(sponza);
|
||||
addActor(shoot);
|
||||
addActor(grenade_throw);
|
||||
|
||||
|
||||
float boardMass = 10;
|
||||
|
|