Skip to content

Commit

Permalink
[demos] fixed deepscan issues #ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
waynemwashuma committed Jan 8, 2024
1 parent 60483cc commit 17809a5
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions demos/animation.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {
Vector2,
Sprite,
BufferGeometry,
BasicMaterial,
Tween,
createEntity,
Expand All @@ -10,12 +9,6 @@ import {
TextMaterial,
BoxGeometry
} from "/src/index.js"
let path = [
new Vector2(-25, -25),
new Vector2(-25, 25),
new Vector2(25, 25),
new Vector2(25, -25)
]
let geometry = new BoxGeometry(25,25)
let material = new BasicMaterial()

Expand Down Expand Up @@ -50,7 +43,7 @@ export function animation(manager) {
}
}

function createAnimation(easing, width, height, tweener, renderer) {
function createAnimation(easing, width, height, tweener) {
let box = createEntity(width, 100)
let tween = new Tween(
box.get("transform").position
Expand Down

0 comments on commit 17809a5

Please sign in to comment.