OLD | NEW |
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 /** | 5 /** |
6 * A solar system visualization. | 6 * A solar system visualization. |
7 */ | 7 */ |
8 | 8 |
9 library solar3d; | 9 library solar3d; |
10 | 10 |
11 import 'dart:html'; | 11 import 'dart:html'; |
12 import 'dart:scalarlist'; | 12 import 'dart:scalarlist'; |
13 import 'dart:json'; | 13 import 'dart:json' as json; |
14 import 'dart:math' as Math; | 14 import 'dart:math' as Math; |
15 | 15 |
16 import 'package:vector_math/vector_math_browser.dart'; | 16 import 'package:vector_math/vector_math_browser.dart'; |
17 | 17 |
18 part 'sphere_model_data.dart'; | 18 part 'sphere_model_data.dart'; |
19 part 'sphere_model.dart'; | 19 part 'sphere_model.dart'; |
20 part 'shader.dart'; | 20 part 'shader.dart'; |
21 part 'planet_shader.dart'; | 21 part 'planet_shader.dart'; |
22 part 'texture_manager.dart'; | 22 part 'texture_manager.dart'; |
23 part 'grid.dart'; | 23 part 'grid.dart'; |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 print(log); | 532 print(log); |
533 } | 533 } |
534 } | 534 } |
535 | 535 |
536 /** | 536 /** |
537 * The entry point to the application. | 537 * The entry point to the application. |
538 */ | 538 */ |
539 void main() { | 539 void main() { |
540 application.startup('#container'); | 540 application.startup('#container'); |
541 } | 541 } |
OLD | NEW |