react-native-navigation的迁移库

12345678910111213141516
  1. //
  2. // LNInterpolable.c
  3. //
  4. // Created by Leo Natan on 04/10/2016.
  5. // Copyright © 2016 Leo Natan. All rights reserved.
  6. //
  7. #import "LNInterpolable.h"
  8. LNInterpolationBehavior const LNInterpolationBehaviorUseDefault = @"LNInterpolationBehaviorUseDefault";
  9. double LNLinearInterpolate(double from, double to, double p)
  10. {
  11. return from + p * (to - from);
  12. }