Skip to content
New issue

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

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

Already on GitHub? # to your account

Remove CameraFlightPath.createAnimationCartographic #1699

Closed
pjcozzi opened this issue May 13, 2014 · 13 comments
Closed

Remove CameraFlightPath.createAnimationCartographic #1699

pjcozzi opened this issue May 13, 2014 · 13 comments

Comments

@pjcozzi
Copy link
Contributor

pjcozzi commented May 13, 2014

As discussed with @bagnell, this can be replaced by the CameraFlightPath constructor function once it handles the scene mode correctly.

@pjcozzi
Copy link
Contributor Author

pjcozzi commented May 21, 2014

Likewise, setPositionCartographic and friends should not be needed.

@bagnell
Copy link
Contributor

bagnell commented May 21, 2014

@pjcozzi Why would we remove setPositionCartographic? We could make the camera use getters/setters and do the conversions automatically when set to a cartographic.

@pjcozzi
Copy link
Contributor Author

pjcozzi commented May 21, 2014

Can't that just be a Cartesian3 like this change? It is core Camera work so if we do it, it can be a separate pull request.

@pjcozzi
Copy link
Contributor Author

pjcozzi commented May 21, 2014

This is good. Merging.

@bagnell what is the plan for setPositionCartographic?

@bagnell
Copy link
Contributor

bagnell commented May 21, 2014

So have a setPosition function that sets the position property based on the scene mode?

@pjcozzi
Copy link
Contributor Author

pjcozzi commented May 21, 2014

Right, but a getter/setter property.

@pjcozzi
Copy link
Contributor Author

pjcozzi commented May 23, 2014

@bagnell what is the plan here?

@bagnell
Copy link
Contributor

bagnell commented May 23, 2014

I don't want to move the code to the position property because it does more than set the position. It also sets the orientation to look down at the Earth and orients up do be toward north. I can change all of the Camera properties to be getters/setters that are scene mode independent like the recent change for the transform

@pjcozzi
Copy link
Contributor Author

pjcozzi commented May 26, 2014

Sounds good. Will leave this open.

@pjcozzi
Copy link
Contributor Author

pjcozzi commented Jul 9, 2014

@bagnell is this something @hpinkos can help with?

@pjcozzi
Copy link
Contributor Author

pjcozzi commented Jul 18, 2014

@bagnell is this something @hpinkos can help with?

?

@mramato
Copy link
Contributor

mramato commented Jul 30, 2014

According to @bagnell this won't make 1.0; so if/when we remove it; we'll have to go through deprecation.

@mramato mramato added 1.0 push and removed 1.0 labels Jul 30, 2014
@bagnell
Copy link
Contributor

bagnell commented Jul 31, 2014

CameraFlightPath.createAnimationCartographic was removed. The issue here is now to remove the set cartographic functions from the camera. I'll write up another issue with what needs to be done.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants