Merge pull request #8892 from fredj/do_typo
Use the right device orientation property in example
This commit is contained in:
@@ -29,7 +29,7 @@ gn.init().then(function() {
|
|||||||
gn.start(function(event) {
|
gn.start(function(event) {
|
||||||
const center = view.getCenter();
|
const center = view.getCenter();
|
||||||
const resolution = view.getResolution();
|
const resolution = view.getResolution();
|
||||||
const alpha = toRadians(event.do.beta);
|
const alpha = toRadians(event.do.alpha);
|
||||||
const beta = toRadians(event.do.beta);
|
const beta = toRadians(event.do.beta);
|
||||||
const gamma = toRadians(event.do.gamma);
|
const gamma = toRadians(event.do.gamma);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user