Some refactoring

This commit is contained in:
schmelczerandras 2020-09-14 19:18:59 +02:00
commit 99f47e2961
2 changed files with 72 additions and 113 deletions

View file

@ -10,8 +10,6 @@ export class Blob implements IShape {
protected readonly headRadius = 40;
protected readonly footRadius = 15;
protected readonly k = 1000000;
private readonly headOffset = vec2.fromValues(0, -15);
private readonly leftFootOffset = vec2.fromValues(-12, -60);
private readonly rightFootOffset = vec2.fromValues(12, -60);

View file

@ -1,7 +1,7 @@
import { vec2 } from 'gl-matrix';
import { IShape } from '../i-shape';
import { BoundingBox } from '../bounding-box';
import { GameObject } from '../../objects/game-object';
import { BoundingBox } from '../bounding-box';
import { IShape } from '../i-shape';
export class Circle implements IShape {
public readonly isInverted = false;