Weather/smali/com/badlogic/gdx/math/Interpolation$SwingOut.smali
2021-05-10 10:13:34 +02:00

62 lines
1.1 KiB
Smali

.class public Lcom/badlogic/gdx/math/Interpolation$SwingOut;
.super Lcom/badlogic/gdx/math/Interpolation;
.source "Interpolation.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/badlogic/gdx/math/Interpolation;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "SwingOut"
.end annotation
# instance fields
.field private final Q:F
# direct methods
.method public constructor <init>(F)V
.locals 0
.line 413
invoke-direct {p0}, Lcom/badlogic/gdx/math/Interpolation;-><init>()V
.line 414
iput p1, p0, Lcom/badlogic/gdx/math/Interpolation$SwingOut;->Q:F
return-void
.end method
# virtual methods
.method public a(F)F
.locals 3
const/high16 v0, 0x3f800000 # 1.0f
sub-float/2addr p1, v0
mul-float v1, p1, p1
.line 419
iget v2, p0, Lcom/badlogic/gdx/math/Interpolation$SwingOut;->Q:F
add-float/2addr v2, v0
mul-float v2, v2, p1
iget p1, p0, Lcom/badlogic/gdx/math/Interpolation$SwingOut;->Q:F
add-float/2addr v2, p1
mul-float v1, v1, v2
add-float/2addr v1, v0
return v1
.end method