Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera flights #1806

Merged
merged 9 commits into from
Jun 9, 2014
Merged

Camera flights #1806

merged 9 commits into from
Jun 9, 2014

Conversation

pjcozzi
Copy link
Contributor

@pjcozzi pjcozzi commented Jun 9, 2014

Start of #1188 that also turned into part of #1060. More to come; no need to increase the scope of this.

  • Replaced CameraFlightPath.createAnimation with Camera.flyTo and replaced CameraFlightPath.createAnimationRectangle with Camera.flyToRectangle. Code that looked like:

        scene.animations.add(Cesium.CameraFlightPath.createAnimation(scene, {
            destination : Cesium.Cartesian3.fromDegrees(-117.16, 32.71, 15000.0)
        }));
    

    should now look like:

        scene.camera.flyTo({
            destination : Cesium.Cartesian3.fromDegrees(-117.16, 32.71, 15000.0)
        });
    
  • Renamed options.endReferenceFrame to options.endTransform in Camera.flyTo and Camera.flyToRectangle.

  • Updated third-party Tween.js from r7 to r13.

@pjcozzi pjcozzi changed the title Animation collection Camera flights Jun 9, 2014
bagnell added a commit that referenced this pull request Jun 9, 2014
@bagnell bagnell merged commit bfcf803 into master Jun 9, 2014
@bagnell bagnell deleted the animation-collection branch June 9, 2014 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants