Skip to content

CenterOn has confusing behavior when called more than once #4

@mmcloughlin

Description

@mmcloughlin

As noticed in #3 the CenterOn method does the wrong thing when called multiple times. This is because the rotation is applied assuming the default initial state of the globe.

It should be an easy fix to remember the current position the globe has been rotated to and apply a rotation relative to that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions