From: Mark Lobodzinski Date: Wed, 25 Jan 2017 17:11:50 +0000 (-0700) Subject: demos: Protect smoke demo data file from c-f X-Git-Tag: upstream/1.1.92~1701 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1152e7aea69a77878ca17cf71b4fba845cd61041;p=platform%2Fupstream%2FVulkan-Tools.git demos: Protect smoke demo data file from c-f Clang formatting the teapot mesh data file makes it unnecessarily lengthy -- disabled for the data definition portion of the file. Change-Id: I773fc4655b381b26a33e32fe845514f36b9d8e66 --- diff --git a/demos/smoke/Meshes.teapot.h b/demos/smoke/Meshes.teapot.h index 68aa297..b0e19ef 100644 --- a/demos/smoke/Meshes.teapot.h +++ b/demos/smoke/Meshes.teapot.h @@ -32,6 +32,9 @@ // // https://raw.githubusercontent.com/KhronosGroup/WebGL/master/sdk/demos/google/shiny-teapot/teapot-streams.js +// Disable auto-formatting to get multiple values per line +// clang-format off + static const float teapot_positions[] = { 17.83489990234375f, 0.0f, 30.573999404907227f, 16.452699661254883f, -7.000179767608643f, 30.573999404907227f, @@ -1638,6 +1641,8 @@ static const float teapot_normals[] = { 0.5266720056533813, 0, 0.8500679731369019, }; +// clang-format on + static const int teapot_indices[] = { 0, 1, 2, 2, 3, 0,