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

Feature request: Graphics.Collage.RotateTo #443

Closed
MaciekChudek opened this Issue Nov 21, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@MaciekChudek

MaciekChudek commented Nov 21, 2015

Currently rotate takes an offset. But often you know what absolute direction you want something pointing now and don't care about the direction it was pointing before, let alone the angular difference between them. Consequently, something like this would be useful:

rotateTo : Float -> Form -> Form
rotateTo t (Form_elm_builtin f) =
Form_elm_builtin { f | theta = t }

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz May 11, 2016

Member

Sorry for a very slow response! All the Graphics.* modules now live in evancz/elm-graphics so this kind of stuff should be moved there.

Nonetheless, I don't think it's likely this would be added.

Member

evancz commented May 11, 2016

Sorry for a very slow response! All the Graphics.* modules now live in evancz/elm-graphics so this kind of stuff should be moved there.

Nonetheless, I don't think it's likely this would be added.

@evancz evancz closed this May 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment