MCPcopy Create free account
hub / github.com/defold/defold / OutputArray

Function OutputArray

engine/modelc/src/modelimporter_debug.cpp:144–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142
143template <int N>
144static void OutputArray(const char* name, float (&p)[N], int indent)
145{
146 OutputIndent(indent);
147 printf("%s: ", name);
148 for (int i = 0; i < N; ++i)
149 {
150 printf("%.3f", p[i]);
151 if (i < (N-1))
152 printf(", ");
153 }
154 printf("\n");
155}
156
157template<typename T>
158static void OutputValue(const char* name, T value, int indent)

Callers 7

OutputTextureTransformFunction · 0.85
OutputSpecularFunction · 0.85
OutputVolumeFunction · 0.85
OutputSheenFunction · 0.85
OutputMaterialFunction · 0.85

Calls 1

OutputIndentFunction · 0.85

Tested by

no test coverage detected