remove illegal relative imports

This commit is contained in:
Evert Prants 2023-06-24 21:37:49 +03:00
parent 2f48411212
commit 7aaf62bdc5
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
5 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,5 @@
import { EngineComponent, EventEmitter, Renderer } from '@freeblox/engine';
import { EditorEvents } from '..';
import { EditorEvents } from '../types/events';
/**
* Provides editing shortcuts for the editor.

View File

@ -4,7 +4,7 @@ import { EngineComponent } from '../types/engine-component';
import { Renderer } from '../core/renderer';
import { EventEmitter } from '../utils/events';
import { Environment } from '../gameobjects/environment.object';
import { environmentDefaults } from '..';
import { environmentDefaults } from '../defaults/environment';
/**
* This component manages game environment and world lighting.

View File

@ -4,8 +4,8 @@ import { World } from '../gameobjects/world.object';
import { getRapier, PhysicsTicking } from '../physics';
import { Humanoid } from '../gameobjects/humanoid.object';
import { PhysicsObject } from '../gameobjects/physics.object';
import { GameObject } from '../types/game-object';
import type Rapier from '@dimforge/rapier3d';
import { GameObject } from '..';
export class PhysicsWorldComponent extends EngineComponent {
public name = PhysicsWorldComponent.name;

View File

@ -1,8 +1,9 @@
import { EditorProperty, GameObject } from '..';
import { PhysicsTicking } from '../physics/ticking';
import type Rapier from '@dimforge/rapier3d';
import { PhysicalObject } from './physical.object';
import { Quaternion, Vector3 } from 'three';
import { EditorProperty } from '../decorators/property';
import { GameObject } from '../types/game-object';
export class PhysicsObject extends PhysicalObject implements PhysicsTicking {
public objectType = 'PhysicsObject';

View File

@ -1,4 +1,4 @@
import { EditorProperty } from '..';
import { EditorProperty } from '../decorators/property';
import { GameObject } from '../types/game-object';
export class World extends GameObject {