aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2017-01-25 10:11:50 -0700
committerMark Lobodzinski <mark@lunarg.com>2017-01-25 10:24:10 -0700
commit1152e7aea69a77878ca17cf71b4fba845cd61041 (patch)
tree31ff89124317c236d2bbf333be85aaa3d873f262
parent41aa9b17c4484ce888b90d9b09af4227eb950f67 (diff)
downloadusermoji-1152e7aea69a77878ca17cf71b4fba845cd61041.tar.xz
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
-rw-r--r--demos/smoke/Meshes.teapot.h5
1 files changed, 5 insertions, 0 deletions
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,