mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The code goes into its own sub-tree under 'tools' but tests go under 'test', so that running 'check-swift' will also run all the SourceKit tests. SourceKit is disabled on non-darwin platforms.
46 lines
1.6 KiB
Swift
46 lines
1.6 KiB
Swift
let gCubeVertexData: [Float] = [
|
|
0.5, -0.5, -0.5, 1.0, 0.0, 0.0,
|
|
0.5, 0.5, -0.5, 1.0, 0.0, 0.0,
|
|
0.5, -0.5, 0.5, 1.0, 0.0, 0.0,
|
|
0.5, -0.5, 0.5, 1.0, 0.0, 0.0,
|
|
0.5, 0.5, -0.5, 1.0, 0.0, 0.0,
|
|
0.5, 0.5, 0.5, 1.0, 0.0, 0.0,
|
|
|
|
0.5, 0.5, -0.5, 0.0, 1.0, 0.0,
|
|
-0.5, 0.5, -0.5, 0.0, 1.0, 0.0,
|
|
0.5, 0.5, 0.5, 0.0, 1.0, 0.0,
|
|
0.5, 0.5, 0.5, 0.0, 1.0, 0.0,
|
|
-0.5, 0.5, -0.5, 0.0, 1.0, 0.0,
|
|
-0.5, 0.5, 0.5, 0.0, 1.0, 0.0,
|
|
|
|
-0.5, 0.5, -0.5, -1.0, 0.0, 0.0,
|
|
-0.5, -0.5, -0.5, -1.0, 0.0, 0.0,
|
|
-0.5, 0.5, 0.5, -1.0, 0.0, 0.0,
|
|
-0.5, 0.5, 0.5, -1.0, 0.0, 0.0,
|
|
-0.5, -0.5, -0.5, -1.0, 0.0, 0.0,
|
|
-0.5, -0.5, 0.5, -1.0, 0.0, 0.0,
|
|
|
|
-0.5, -0.5, -0.5, 0.0, -1.0, 0.0,
|
|
0.5, -0.5, -0.5, 0.0, -1.0, 0.0,
|
|
-0.5, -0.5, 0.5, 0.0, -1.0, 0.0,
|
|
-0.5, -0.5, 0.5, 0.0, -1.0, 0.0,
|
|
0.5, -0.5, -0.5, 0.0, -1.0, 0.0,
|
|
0.5, -0.5, 0.5, 0.0, -1.0, 0.0,
|
|
|
|
0.5, 0.5, 0.5, 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