After Width: | Height: | Size: 976 KiB |
After Width: | Height: | Size: 816 KiB |
After Width: | Height: | Size: 282 KiB |
After Width: | Height: | Size: 405 KiB |
After Width: | Height: | Size: 440 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 499 KiB |
After Width: | Height: | Size: 425 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 269 KiB |
After Width: | Height: | Size: 120 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 530 KiB |
After Width: | Height: | Size: 514 KiB |
After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 442 KiB |
After Width: | Height: | Size: 441 KiB |
After Width: | Height: | Size: 88 KiB |
After Width: | Height: | Size: 425 KiB |
After Width: | Height: | Size: 474 KiB |
After Width: | Height: | Size: 40 KiB |
|
@ -1,4 +1,4 @@
|
|||
#include "DemoWorld.h"
|
||||
#include "DemoWorld.h"
|
||||
#include "Particle.h"
|
||||
|
||||
DemoWorld::DemoWorld()
|
||||
|
@ -20,11 +20,15 @@ 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");
|
||||
shoot->setPosition({ 5,0,-1 });
|
||||
shoot->setScale(glm::vec3{ 50 });
|
||||
|
||||
addActor(actor);
|
||||
addActor(actor2);
|
||||
addActor(actor3);
|
||||
addActor(sponza);
|
||||
addActor(shoot);
|
||||
|
||||
|
||||
float boardMass = 10;
|
||||
|
|