调整了grenade_throw的材质
parent
20e56d07ee
commit
a60cd33221
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 2.8 MiB |
Before Width: | Height: | Size: 2.4 MiB After Width: | Height: | Size: 2.4 MiB |
Binary file not shown.
After Width: | Height: | Size: 1.5 MiB |
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -1,11 +0,0 @@
|
||||||
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/)
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 850 KiB |
|
@ -24,7 +24,7 @@ DemoWorld::DemoWorld()
|
||||||
shoot->setPosition({ 5,0,-1 });
|
shoot->setPosition({ 5,0,-1 });
|
||||||
shoot->setScale(glm::vec3(45));
|
shoot->setScale(glm::vec3(45));
|
||||||
|
|
||||||
throwPerson = std::make_shared<Actor>("Models\\grenade_throw\\scene.gltf");
|
throwPerson = std::make_shared<Actor>("Models\\grenade_throw\\grenade_throw.gltf");
|
||||||
throwPerson->setPosition({ -7,0,-1 });
|
throwPerson->setPosition({ -7,0,-1 });
|
||||||
throwPerson->setRotaion(glm::angleAxis(glm::radians(90.f), glm::vec3(0, 1, 0)));
|
throwPerson->setRotaion(glm::angleAxis(glm::radians(90.f), glm::vec3(0, 1, 0)));
|
||||||
throwPerson->setScale(glm::vec3{ 45 });
|
throwPerson->setScale(glm::vec3{ 45 });
|
||||||
|
|
Loading…
Reference in New Issue