diff options
| author | Dave Houlton <daveh@lunarg.com> | 2018-02-16 11:02:26 -0700 |
|---|---|---|
| committer | Dave Houlton <daveh@lunarg.com> | 2018-02-19 14:59:16 -0700 |
| commit | 5fa4791843d7bb9df449e243e17731d72bebb436 (patch) | |
| tree | 4d9be1913931f95611523249afa5c612342f5aff /demos/smoke/Simulation.cpp | |
| parent | 5d2ad545981d93a980a066e03aa46725a398518b (diff) | |
| download | usermoji-5fa4791843d7bb9df449e243e17731d72bebb436.tar.xz | |
demos: clang-format only
Apply a whole-file clang-format to LVL demos folder.
Change-Id: I5f7fc8b67e7f3f3eeaa34a2ae757004fb7334743
Diffstat (limited to 'demos/smoke/Simulation.cpp')
| -rw-r--r-- | demos/smoke/Simulation.cpp | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/demos/smoke/Simulation.cpp b/demos/smoke/Simulation.cpp index cc5fbabf..0346a7ee 100644 --- a/demos/smoke/Simulation.cpp +++ b/demos/smoke/Simulation.cpp @@ -26,8 +26,16 @@ class MeshPicker { public: MeshPicker() : pattern_({{ - Meshes::MESH_PYRAMID, Meshes::MESH_ICOSPHERE, Meshes::MESH_TEAPOT, Meshes::MESH_PYRAMID, Meshes::MESH_ICOSPHERE, - Meshes::MESH_PYRAMID, Meshes::MESH_PYRAMID, Meshes::MESH_PYRAMID, Meshes::MESH_PYRAMID, Meshes::MESH_PYRAMID, + Meshes::MESH_PYRAMID, + Meshes::MESH_ICOSPHERE, + Meshes::MESH_TEAPOT, + Meshes::MESH_PYRAMID, + Meshes::MESH_ICOSPHERE, + Meshes::MESH_PYRAMID, + Meshes::MESH_PYRAMID, + Meshes::MESH_PYRAMID, + Meshes::MESH_PYRAMID, + Meshes::MESH_PYRAMID, }}), cur_(-1) {} @@ -249,7 +257,10 @@ Simulation::Simulation(int object_count) : random_dev_() { float scale = mesh.scale(type); objects_.emplace_back(Object{ - type, glm::vec3(0.5f + 0.5f * (float)i / object_count), color.pick(), Animation(random_dev_(), scale), + type, + glm::vec3(0.5f + 0.5f * (float)i / object_count), + color.pick(), + Animation(random_dev_(), scale), Path(random_dev_()), }); } |
