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

Adding clock sandcastle example #5457

Merged
merged 1 commit into from
Jun 16, 2017
Merged

Conversation

rahwang
Copy link
Contributor

@rahwang rahwang commented Jun 12, 2017

A sandcastle example demoing the clock API.

Could you review, @mramato ?

@pjcozzi
Copy link
Contributor

pjcozzi commented Jun 13, 2017

@mramato can you look at this and #5458 at the code sprint?

@rahwang please update CHANGES.md in both.

});

Sandcastle.addToolbarButton('Slow Down Clock', function() {
if (viewer.clockViewModel.multiplier > 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you just change this to divide the value by 2 (and change the speed up to multiply by 2)? It was hard to notice the slowdown/speedup since it starts at 4000 compared to 3900. I would also remove these if checks because they will no longer be needed.

@mramato
Copy link
Contributor

mramato commented Jun 15, 2017

Just the one comment. Thanks @rahwang

@rahwang
Copy link
Contributor Author

rahwang commented Jun 16, 2017

Thanks @mramato , done!

@pjcozzi pjcozzi merged commit 115f667 into CesiumGS:master Jun 16, 2017
@rahwang rahwang deleted the clock-example branch June 26, 2017 13:01
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.

3 participants