Fix screen orientation on the example app

Change-Id: I17a8bebd86940b580f1aa637c7da2e2c17c8e093
Reviewed-on: https://r.enimai.com/2354
Reviewed-by: Rahul Iyer <rni@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Update CardboardExample to work with OpenSpatialv0.6.5

Change-Id: I132f1b036eecdc5cebd564b54f6c725bdd49688c
Reviewed-on: https://r.enimai.com/2316
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Chess Example first cut

Change-Id: If66323139f8809cd66f14bdcd32a0a37d081bd6e
Reviewed-on: https://r.enimai.com/2341
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Add gen and bin directories to .gitignore

Change-Id: Ib36b6e6401e94d3d95af8cd0d83a5955591b6296
Reviewed-on: https://r.enimai.com/2342
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Remove bin and gen directories that were accidentally added

Change-Id: If682f0a9ebb7c54ca608031647bf022381e23d4a
Reviewed-on: https://r.enimai.com/2343
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Add tiles, rename ObjectModel to Sprite, calculate offsets

Change-Id: I4cec9310e5a6303b040de500d054017648c7fa29
Reviewed-on: https://r.enimai.com/2344
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Use individual sprites for each tile, piece

Change-Id: I29bc6ce93bc96fc38a90abdb601eee6551c88d7a
Reviewed-on: https://r.enimai.com/2345
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Move translation out of render loop

Change-Id: Idcbd1ee1a7429d007e34207787d4349aa06ff76c
Reviewed-on: https://r.enimai.com/2346
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Use Board only for initialization

Change-Id: I1248d2c5257c385ae8c5fecfe84a8bf3c6af5044
Reviewed-on: https://r.enimai.com/2347
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Buckify and add gdx/gdx-bullet

Change-Id: I388edfe47e241af25d9bff499b139ac77ae82158
Reviewed-on: https://r.enimai.com/2348
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Physics first cut using gdx-bullet

Change-Id: I65d4a937967ffed6ce0be1fd0092d61ca7feb26f
Reviewed-on: https://r.enimai.com/2349
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Collision detection first cut

Change-Id: Ic0aaaa37d3d49dcec1ec66c65e7cc5dc2b2514ed
Reviewed-on: https://r.enimai.com/2350
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Register and react to buttons

1. Start movement only on TOUCH2_DOWN
2. Recenter on TOUCH0_DOWN

Change-Id: I3a4ba30d3320e1baa80b8bdf2f00bddf921c6b7d
Reviewed-on: https://r.enimai.com/2370
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Cleanup dead code

Change-Id: Iaa71ef683764c579e1ec22752d181c0dd9957f9f
Reviewed-on: https://r.enimai.com/2375
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Move loading and VR operations to a separate VR thread

Change-Id: I62858d36b20533d8063cf3809af3a2102d57ce78
Reviewed-on: https://r.enimai.com/2376
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Separate the object vertices and orientation data

This enables us to load the objects from the resources independent of their
orientation. This diff introduces the concept of an ObjectModel - a
representation of the data in the .obj file - and a Sprite - an entity in the
scene. The orientation is maintained in the sprite independent of the
ObjectModel, which can enable the sharing of ObjectModels across different
sprites - e.g just one black/white pawn instead of 8.

Change-Id: Id0007d471f1efbe64db8dbaabae81aabb5c45f41
Reviewed-on: https://r.enimai.com/2383
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Load only one ObjectModel per type of piece

Change-Id: Id2714b9e4ec17cbd0eed335b250c293e78d6ffa1
Reviewed-on: https://r.enimai.com/2385
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Run VR thread at UI priority

Change-Id: Id357c26ceacd330d68c1ce95f90522228286e750
Reviewed-on: https://r.enimai.com/2386
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>