Fix linting

This commit is contained in:
schmelczerandras 2020-11-17 10:13:31 +01:00
parent e5e928d99a
commit e6376ad059
23 changed files with 33 additions and 58 deletions

View file

@ -1,5 +1,5 @@
import { vec2 } from 'gl-matrix';
import { Circle, GameObject, rotate90Deg } from 'shared';
import { GameObject } from 'shared';
import { CirclePhysical } from '../../objects/circle-physical';
import { evaluateSdf } from './evaluate-sdf';
import { Physical } from '../physicals/physical';
@ -23,7 +23,7 @@ export const moveCircle = (
const deltaLength = vec2.length(delta);
let travelled = 0;
let rayEnd = vec2.create();
const rayEnd = vec2.create();
let prevMinDistance = 0;
while (travelled < deltaLength) {
travelled += prevMinDistance;