Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Side by Side Diff: samples/solar3d/web/sphere_model_data.dart

Issue 23596007: Remove usage of dart:json. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of solar3d; 5 part of solar3d;
6 6
7 final Map _sphereData = json.parse(_sphereDataString); 7 final Map _sphereData = JSON.decode(_sphereDataString);
8 final String _sphereDataString = ''' 8 final String _sphereDataString = '''
9 { 9 {
10 "header" : { 10 "header" : {
11 "filename" : "/Users/johnmccutchan/untitled5.obj" 11 "filename" : "/Users/johnmccutchan/untitled5.obj"
12 }, 12 },
13 "meshes" : [ 13 "meshes" : [
14 { 14 {
15 "indexWidth" : 2, 15 "indexWidth" : 2,
16 "attributes" : { 16 "attributes" : {
17 "POSITION" : { 17 "POSITION" : {
(...skipping 3882 matching lines...) Expand 10 before | Expand all | Expand 10 after
3900 -0.415735, -0.277785, -0.000000, -0.849229, -0.528024, -0.000003, -0.103524, 0.1 66506, -0.980591, -0.517614, 0.832485, 0.197593, 0.051941, 0.554970, 3900 -0.415735, -0.277785, -0.000000, -0.849229, -0.528024, -0.000003, -0.103524, 0.1 66506, -0.980591, -0.517614, 0.832485, 0.197593, 0.051941, 0.554970,
3901 -0.407746, -0.277785, -0.081106, -0.805228, -0.567206, -0.172874, 0.047157, 0.22 9362, -0.972198, -0.591182, 0.790524, 0.159922, 0.076022, 0.567870, 3901 -0.407746, -0.277785, -0.081106, -0.805228, -0.567206, -0.172874, 0.047157, 0.22 9362, -0.972198, -0.591182, 0.790524, 0.159922, 0.076022, 0.567870,
3902 -0.453064, -0.191342, -0.090120, -0.905874, -0.382714, -0.181443, 0.088287, 0.24 8358, -0.964637, -0.414650, 0.888692, 0.195685, 0.084004, 0.504490, 3902 -0.453064, -0.191342, -0.090120, -0.905874, -0.382714, -0.181443, 0.088287, 0.24 8358, -0.964637, -0.414650, 0.888692, 0.195685, 0.084004, 0.504490,
3903 -0.346760, 0.353553, -0.068975, -0.670363, 0.729954, -0.133341, 0.615738, 0.4469 29, -0.648938, 0.419535, 0.521063, 0.743293, 0.167754, 0.135879, 3903 -0.346760, 0.353553, -0.068975, -0.670363, 0.729954, -0.133341, 0.615738, 0.4469 29, -0.648938, 0.419535, 0.521063, 0.743293, 0.167754, 0.135879,
3904 -0.353553, 0.353553, -0.000000, -0.716925, 0.697092, 0.008971, 0.305508, 0.32571 4, -0.894749, 0.613601, 0.624846, 0.482763, 0.127116, 0.110949, 3904 -0.353553, 0.353553, -0.000000, -0.716925, 0.697092, 0.008971, 0.305508, 0.32571 4, -0.894749, 0.613601, 0.624846, 0.482763, 0.127116, 0.110949,
3905 -0.407746, 0.277785, -0.081106, -0.805228, 0.567206, -0.172874, 0.451509, 0.3975 13, -0.798826, 0.392085, 0.728018, 0.562369, 0.140040, 0.192730 3905 -0.407746, 0.277785, -0.081106, -0.805228, 0.567206, -0.172874, 0.451509, 0.3975 13, -0.798826, 0.392085, 0.728018, 0.562369, 0.140040, 0.192730
3906 ] 3906 ]
3907 } 3907 }
3908 ] 3908 ]
3909 }'''; 3909 }''';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698