Skip to content

easeInOutCubic is wrong  #1

@Denis535

Description

@Denis535

I'm trying your easeInOutCubic:

double easeInOutCubic( double t ) {
   return t < 0.5 ? 4 * t * t * t : 1 + (--t) * (2 * (--t)) * (2 * t);
}

But it returns wrong result for case t >= 0.5.
unity 2017 1 0f1 personal 64bit - untitled - tween - pc mac linux standalone dx11 2017-07-08 17 28 14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions