From 1152e7aea69a77878ca17cf71b4fba845cd61041 Mon Sep 17 00:00:00 2001 From: Mark Lobodzinski Date: Wed, 25 Jan 2017 10:11:50 -0700 Subject: 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 --- demos/smoke/Meshes.teapot.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/demos/smoke/Meshes.teapot.h b/demos/smoke/Meshes.teapot.h index 68aa2974..b0e19ef5 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, -- cgit v1.2.3