Skip to content

Commit

Permalink
fix Three import in dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
wraitii committed Mar 11, 2022
1 parent 7dafbad commit 08d6e2f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/builder/graphics/Builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,8 @@ function addLight(scene, x, y, z) {
var scene: THREE.Scene;

import { selectionRender } from '../inputs/Selection';
import { Object3D } from 'three';

export var inputObjects = new Object3D();
export var inputObjects : THREE.Object3D;

function setupScene(voxWorld)
{
Expand Down Expand Up @@ -329,6 +328,8 @@ export function render() {
export async function main(canvas) {
await THREE_SETUP;

inputObjects = new THREE.Object3D();

const fov = 75;
const aspect = 2; // the canvas default
const near = 0.5;
Expand Down

0 comments on commit 08d6e2f

Please sign in to comment.