Oscar Lorentzon
|
061af4ae69
|
Add missing state interface property in unit test helper.
|
2016-03-02 18:07:58 +01:00 |
|
Oscar Lorentzon
|
8066b9c52a
|
Use Typings instead of TSD.
Remove deprecated TSD dependency.
Use Typings to install type definitions.
Install rx typings from npm package.
|
2016-02-29 16:58:56 +01:00 |
|
Oscar Lorentzon
|
fa04a4ee1a
|
Test that size observable is shared.
|
2016-02-29 10:02:55 +01:00 |
|
Oscar Lorentzon
|
9a9bac9061
|
Loading service tests with single done calls.
Remove failing test with multiple done calls.
Create simple tests for stop and start loading.
|
2016-02-28 20:59:31 +01:00 |
|
Oscar Lorentzon
|
84e5f3ec81
|
Test GL rendering for multiple registrations.
|
2016-02-28 20:57:43 +01:00 |
|
Oscar Lorentzon
|
344d472f70
|
Test that API im or is called correctly.
|
2016-02-24 14:54:55 +01:00 |
|
Oscar Lorentzon
|
55610f0be8
|
Rename API spec file to APIv2.
|
2016-02-24 14:29:11 +01:00 |
|
Oscar Lorentzon
|
d14af591f7
|
Test that the correct API path is called for nav.
|
2016-02-24 14:27:45 +01:00 |
|
Oscar Lorentzon
|
28e7f965b6
|
Test that GLRenderer renders on render mode change.
|
2016-02-23 09:25:03 +01:00 |
|
Oscar Lorentzon
|
f6556ad66c
|
Test rendering on resize and no renders registered.
|
2016-02-23 09:17:54 +01:00 |
|
Oscar Lorentzon
|
73600c7141
|
Test that render is called when camera has changed.
|
2016-02-22 23:03:00 +01:00 |
|
Oscar Lorentzon
|
57eaddb4ef
|
Test that rendering is not done when not requested.
|
2016-02-22 22:09:01 +01:00 |
|
Oscar Lorentzon
|
919cc647ff
|
Test that renderer renders twice and on clear.
|
2016-02-22 18:05:40 +01:00 |
|
Oscar Lorentzon
|
2f88ce8f5b
|
Test that GLRenderer renders correctly for single hash.
|
2016-02-22 11:26:59 +01:00 |
|
Oscar Lorentzon
|
70fe693ff3
|
Test that WebGLRenderer is created on render request.
|
2016-02-21 17:49:07 +01:00 |
|
Oscar Lorentzon
|
cf904d0415
|
GLRenderer ctor unit tests.
|
2016-02-21 17:47:15 +01:00 |
|
Kamil Nikel
|
20ca0b987d
|
Rename enumerations with PascalCase
Fixes mapillar/mapillary-js#61
|
2016-02-08 12:12:01 +01:00 |
|
Oscar Lorentzon
|
db01f62645
|
Calculate required hashes for tile nodes.
When tiles are retrieved the the hashes required for all the
nodes to be worthy are calculated. The value is supplied to
the node.
|
2016-02-03 17:55:53 +01:00 |
|
Johan Gyllenspetz
|
8ed1c934e0
|
Simplify UI handling and conform to possible 1.0.0 API
|
2016-02-02 16:04:43 -08:00 |
|
Oscar Lorentzon
|
dd916f3778
|
Rename tile properties to row, col and size.
|
2016-02-01 20:36:01 +01:00 |
|
Oscar Lorentzon
|
3fdfbf6c7e
|
Helper functions in tile factory for x and y calcs.
|
2016-02-01 20:20:01 +01:00 |
|
Oscar Lorentzon
|
1985459ccf
|
Encode method on tile factory.
|
2016-02-01 19:59:42 +01:00 |
|
Oscar Lorentzon
|
2904ef2ce4
|
Neighbours method on tile factory.
|
2016-02-01 19:39:24 +01:00 |
|
Oscar Lorentzon
|
20ac4b9ddc
|
Get lat lon bounds method on tile factory.
|
2016-02-01 19:28:31 +01:00 |
|
Oscar Lorentzon
|
3cba256995
|
Edges from worthy to non worthy nodes.
Edges from worthy nodes to non worthy should exist.
|
2016-02-01 15:55:13 +01:00 |
|
Oscar Lorentzon
|
831f849872
|
TilesService cache test using tile factory.
|
2016-02-01 15:46:36 +01:00 |
|
Oscar Lorentzon
|
1425c3063f
|
Include nodes in tile hash.
|
2016-02-01 15:43:46 +01:00 |
|
Oscar Lorentzon
|
fbacd8d043
|
Tile factory for generating fake tiles.
Fake tiles have nodes distributed uniformly and
only sequences with single items.
|
2016-02-01 14:51:56 +01:00 |
|
Oscar Lorentzon
|
8e751ee8c7
|
Clone method on Camera.
Unit test.
|
2016-01-29 11:29:25 +01:00 |
|
Oscar Lorentzon
|
c08b40ce0a
|
Spatial method for distance between coordinates.
Use haversine formula to calculate distance in meters.
Unit tests.
|
2016-01-29 11:19:22 +01:00 |
|
Johan Gyllenspetz
|
9c52de3a79
|
More useable user setup, debug ui
* Tweak input towards users and functionality not extendability
* Add demo information to debug interface
|
2016-01-26 21:38:41 -08:00 |
|
Johan Gyllenspetz
|
b2d192b25b
|
Make CoverUI special and handle activate of coverUI (still not good though, needs more work)
|
2016-01-25 16:51:13 -08:00 |
|
Oscar Lorentzon
|
aea088093a
|
Merge branch 'feature-pano-nav'
Conflicts:
src/UI.ts
src/ui/DirectionsUI.ts
src/viewer/UI.ts
Update MouseUI to follow new UI pattern.
|
2016-01-25 18:14:39 +01:00 |
|
Oscar Lorentzon
|
d42884b648
|
Discard pano nodes from step and turn edges.
|
2016-01-25 13:26:31 +01:00 |
|
Oscar Lorentzon
|
1f9093d860
|
Spatial methods for conversion between radians and degrees.
|
2016-01-25 10:45:04 +01:00 |
|
Johan Gyllenspetz
|
9efc5c193c
|
Refactoring of UI system
* Remove IUI, make use of UI instead
* Always create instance of UI but never activate per default
* Cleanup in all uis known to man
|
2016-01-22 17:09:36 -08:00 |
|
Oscar Lorentzon
|
5de0dc93a2
|
Unit test and correct world motion angle calc.
Calculate world motion for motion vector, not direction vector.
|
2016-01-21 16:45:59 +01:00 |
|
Oscar Lorentzon
|
43d8082840
|
Merge branch 'feature-glrenderer'
Conflicts:
spec/viewer/UI.spec.ts
src/viewer/Container.ts
src/viewer/Viewer.ts
|
2016-01-21 09:41:58 +01:00 |
|
Oscar Lorentzon
|
c628ce4455
|
Correct Container ctor params in UI unit tests.
|
2016-01-20 18:05:51 +01:00 |
|
Kamil Nikel
|
c18883fb49
|
Refactor CoverUI, carry initialPhotoId within the container
|
2016-01-20 15:25:56 +01:00 |
|
Oscar Lorentzon
|
f62bd507c9
|
Fake requestAnimationFrame and WebGLRenderer in tests.
|
2016-01-19 23:12:29 +01:00 |
|
Johan Gyllenspetz
|
d14d6c1006
|
Codingstandard action adding _x for private, x$ for stream
|
2016-01-17 18:02:27 -08:00 |
|
Oscar Lorentzon
|
e446a3a9fd
|
Remove EdgeConstants namespace.
|
2016-01-15 10:35:13 +01:00 |
|
Oscar Lorentzon
|
1f8d6c10f9
|
Rename edge direction enum to EdgeDirection.
|
2016-01-15 10:16:25 +01:00 |
|
Johan Gyllenspetz
|
92d2163818
|
Add LoadingService indicating for system when load happens
|
2016-01-14 21:51:38 -08:00 |
|
Oscar Lorentzon
|
daaef2a703
|
Add copy and diff methods on camera.
Unit tests.
|
2016-01-14 13:03:03 +01:00 |
|
Johan Gyllenspetz
|
049d3af9b3
|
Disable Simple Viewer test
|
2016-01-12 16:18:17 -08:00 |
|
Johan Gyllenspetz
|
e1a2594b1e
|
Cache mesh in node too
|
2016-01-12 16:15:39 -08:00 |
|
Johan Gyllenspetz
|
dbb95c3249
|
Fix the simplest Viewer test
|
2016-01-12 07:53:21 -08:00 |
|
Oscar Lorentzon
|
38f3f6a2fb
|
Add camera class.
Camera class has geo properties needed for creating
a camera with a lookat function.
Unit tests on linear interpolation of two cameras.
|
2016-01-11 14:06:22 +01:00 |
|