main
wuyize 2023-04-20 00:24:03 +08:00
commit b0f893faed
24 changed files with 6281 additions and 1 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 976 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 816 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 405 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 499 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 530 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 442 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 474 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

View File

@ -1,4 +1,4 @@
#include "DemoWorld.h" #include "DemoWorld.h"
#include "Particle.h" #include "Particle.h"
DemoWorld::DemoWorld() DemoWorld::DemoWorld()
@ -20,11 +20,15 @@ DemoWorld::DemoWorld()
actor3->setPosition({ -1,0,-1 }); actor3->setPosition({ -1,0,-1 });
auto sponza = std::make_shared<Actor>("Models\\Sponza\\Sponza.gltf"); auto sponza = std::make_shared<Actor>("Models\\Sponza\\Sponza.gltf");
sponza->setScale(glm::vec3(2)); 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(actor);
addActor(actor2); addActor(actor2);
addActor(actor3); addActor(actor3);
addActor(sponza); addActor(sponza);
addActor(shoot);
float boardMass = 10; float boardMass = 10;