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

Movement.SLOWING mimics Movement.BICUBIC #163

Open
GoogleCodeExporter opened this issue May 1, 2015 · 0 comments
Open

Movement.SLOWING mimics Movement.BICUBIC #163

GoogleCodeExporter opened this issue May 1, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. use Movement.getPosition with Movement.SLOWING parameter
2. look at Movement source reveals SLOWING == CUBIC


What is the expected output?
slowing behaviour

What do you see instead?
cubic behaviour

What version of Rokon are you using?
2.0.3

On which version of Android are you experiencing this?
any

Please provide any additional information below.

Example fix:
 ...
 public final static SLOWING = 5;
 ...
 case SLOWING:
   return (float)Math.cos(position * PI_OVER_TWO - PI_OVER_TWO); 
 ...

I also attached a modified version of Movement.java

Original issue reported on code.google.com by [email protected] on 21 Sep 2010 at 11:14

Attachments:

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

No branches or pull requests

1 participant