67 lines
1.5 KiB
Smali
67 lines
1.5 KiB
Smali
.class public Lcom/esotericsoftware/spine/vertexeffects/JitterEffect;
|
|
.super Ljava/lang/Object;
|
|
.source "JitterEffect.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/esotericsoftware/spine/SkeletonRenderer$VertexEffect;
|
|
|
|
|
|
# instance fields
|
|
.field private a:F
|
|
|
|
.field private b:F
|
|
|
|
|
|
# virtual methods
|
|
.method public a()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lcom/badlogic/gdx/math/Vector2;Lcom/badlogic/gdx/math/Vector2;Lcom/badlogic/gdx/graphics/Color;Lcom/badlogic/gdx/graphics/Color;)V
|
|
.locals 0
|
|
|
|
.line 22
|
|
iget p2, p1, Lcom/badlogic/gdx/math/Vector2;->x:F
|
|
|
|
iget p3, p0, Lcom/esotericsoftware/spine/vertexeffects/JitterEffect;->a:F
|
|
|
|
neg-float p3, p3
|
|
|
|
iget p4, p0, Lcom/esotericsoftware/spine/vertexeffects/JitterEffect;->b:F
|
|
|
|
invoke-static {p3, p4}, Lcom/badlogic/gdx/math/MathUtils;->c(FF)F
|
|
|
|
move-result p3
|
|
|
|
add-float/2addr p2, p3
|
|
|
|
iput p2, p1, Lcom/badlogic/gdx/math/Vector2;->x:F
|
|
|
|
.line 23
|
|
iget p2, p1, Lcom/badlogic/gdx/math/Vector2;->y:F
|
|
|
|
iget p3, p0, Lcom/esotericsoftware/spine/vertexeffects/JitterEffect;->a:F
|
|
|
|
neg-float p3, p3
|
|
|
|
iget p4, p0, Lcom/esotericsoftware/spine/vertexeffects/JitterEffect;->b:F
|
|
|
|
invoke-static {p3, p4}, Lcom/badlogic/gdx/math/MathUtils;->c(FF)F
|
|
|
|
move-result p3
|
|
|
|
add-float/2addr p2, p3
|
|
|
|
iput p2, p1, Lcom/badlogic/gdx/math/Vector2;->y:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lcom/esotericsoftware/spine/Skeleton;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|