From 5fa4791843d7bb9df449e243e17731d72bebb436 Mon Sep 17 00:00:00 2001 From: Dave Houlton Date: Fri, 16 Feb 2018 11:02:26 -0700 Subject: demos: clang-format only Apply a whole-file clang-format to LVL demos folder. Change-Id: I5f7fc8b67e7f3f3eeaa34a2ae757004fb7334743 --- demos/smoke/Simulation.cpp | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'demos/smoke/Simulation.cpp') 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_()), }); } -- cgit v1.2.3