From 7ebec83808b091ef5641afd495942bdd8601e509 Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Thu, 6 May 2021 21:27:37 +0200 Subject: [PATCH] fix typo --- src/lights/DirectionalLight.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lights/DirectionalLight.ts b/src/lights/DirectionalLight.ts index 138975b..ad51193 100644 --- a/src/lights/DirectionalLight.ts +++ b/src/lights/DirectionalLight.ts @@ -1,12 +1,12 @@ import { defineComponent, PropType } from 'vue' import { DirectionalLight } from 'three' -import { Vector2PropInterface } from '../core/Object3D' +import { Vector3PropInterface } from '../core/Object3D' import Light from './Light' export default defineComponent({ extends: Light, props: { - target: { type: Object as PropType, default: () => ({ x: 0, y: 0, z: 0 }) }, + target: { type: Object as PropType, default: () => ({ x: 0, y: 0, z: 0 }) }, }, created() { this.initLight(new DirectionalLight(this.color, this.intensity))