Skip to content

Commit b867c9e

Browse files
kkaefergithub-actions[bot]
authored andcommitted
Add global .clang-format file
Based on a survey of existing .clang-format files with a focus on minimizing required reformatting once we switch to it. GitOrigin-RevId: 6530f5f02caf0e53d0b0db33f416a638a39b7a73
1 parent d67802e commit b867c9e

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

Sources/Examples/All Examples/Sample Data/CustomLayerShaderTypes.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,25 @@
66
// Buffer indexes shared between shader and platform code to ensure Metal shader
77
// buffer inputs match Metal API buffer set calls.
88
typedef enum {
9-
VertexInputIndexVertices = 0,
10-
VertexInputIndexTransformation = 1,
9+
VertexInputIndexVertices = 0,
10+
VertexInputIndexTransformation = 1,
1111
} VertexInputIndex;
1212

1313
typedef struct {
14-
simd_float3 position;
15-
simd_float4 color;
14+
simd_float3 position;
15+
simd_float4 color;
1616
} VertexData;
1717

1818
typedef struct {
19-
simd_float3 pos_merc;
20-
simd_float3 pos_ecef;
21-
simd_float3 color;
19+
simd_float3 pos_merc;
20+
simd_float3 pos_ecef;
21+
simd_float3 color;
2222
} GlobeVertexData;
2323

2424
typedef struct {
25-
simd_float4x4 u_matrix_merc;
26-
simd_float4x4 u_matrix_ecef;
27-
float u_transition;
28-
float u_point_size;
25+
simd_float4x4 u_matrix_merc;
26+
simd_float4x4 u_matrix_ecef;
27+
float u_transition;
28+
float u_point_size;
2929
} GlobeUniforms;
3030
#endif /* CustomLayerShaderTypes_h */

0 commit comments

Comments
 (0)