| OLD | NEW |
| 1 { | 1 { |
| 2 'TOOLS': ['newlib'], | 2 'TOOLS': ['newlib'], |
| 3 'TARGETS': [ | 3 'TARGETS': [ |
| 4 { | 4 { |
| 5 'NAME' : 'tumbler', | 5 'NAME' : 'tumbler', |
| 6 'TYPE' : 'main', | 6 'TYPE' : 'main', |
| 7 'SOURCES' : [ | 7 'SOURCES' : [ |
| 8 'callback.h', | 8 'callback.h', |
| 9 'cube.cc', | 9 'cube.cc', |
| 10 'cube.h', | 10 'cube.h', |
| 11 'opengl_context.cc', | 11 'opengl_context.cc', |
| 12 'opengl_context.h', | 12 'opengl_context.h', |
| 13 'opengl_context_ptrs.h', | 13 'opengl_context_ptrs.h', |
| 14 'scripting_bridge.cc', | 14 'scripting_bridge.cc', |
| 15 'scripting_bridge.h', | 15 'scripting_bridge.h', |
| 16 'shader_util.cc', | 16 'shader_util.cc', |
| 17 'shader_util.h', | 17 'shader_util.h', |
| 18 'transforms.cc', | 18 'transforms.cc', |
| 19 'transforms.h', | 19 'transforms.h', |
| 20 'tumbler.cc', | 20 'tumbler.cc', |
| 21 'tumbler.h', | 21 'tumbler.h', |
| 22 'tumbler_module.cc' | 22 'tumbler_module.cc' |
| 23 ], | 23 ], |
| 24 'LIBS': ['ppapi_cpp', 'ppapi_gles2'] | 24 'LIBS': ['ppapi_gles2', 'ppapi_cpp', 'ppapi', 'pthread'] |
| 25 } | 25 } |
| 26 ], | 26 ], |
| 27 'DATA': [ | 27 'DATA': [ |
| 28 'bind.js', | 28 'bind.js', |
| 29 'dragger.js', | 29 'dragger.js', |
| 30 'trackball.js', | 30 'trackball.js', |
| 31 'tumbler.js', | 31 'tumbler.js', |
| 32 'vector3.js' | 32 'vector3.js' |
| 33 ], | 33 ], |
| 34 'DEST': 'examples', | 34 'DEST': 'examples', |
| 35 'NAME': 'tumbler', | 35 'NAME': 'tumbler', |
| 36 'TITLE': 'Tumbler', | 36 'TITLE': 'Tumbler', |
| 37 'DESC': """ | 37 'DESC': """ |
| 38 The Tumbler example demonstrates how to create a 3D cube that you can | 38 The Tumbler example demonstrates how to create a 3D cube that you can |
| 39 rotate with your mouse while pressing the left mouse button. This example | 39 rotate with your mouse while pressing the left mouse button. This example |
| 40 creates a 3D context and draws to it using OpenGL ES. The JavaScript | 40 creates a 3D context and draws to it using OpenGL ES. The JavaScript |
| 41 implements a virtual trackball interface to map mouse movements into 3D | 41 implements a virtual trackball interface to map mouse movements into 3D |
| 42 rotations using simple 3D vector math and quaternions.""", | 42 rotations using simple 3D vector math and quaternions.""", |
| 43 'INFO': '3D graphics' | 43 'INFO': '3D graphics' |
| 44 } | 44 } |
| 45 | 45 |
| OLD | NEW |