This commit is contained in:
Tom Burdak 2019-04-02 11:03:20 -07:00
Родитель db6f932fba
Коммит fb480ce492
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -4,7 +4,6 @@
*/
import * as MRESDK from '@microsoft/mixed-reality-extension-sdk';
import { Vector3Like } from '@microsoft/mixed-reality-extension-sdk';
/**
* Solar system database
@ -68,7 +67,7 @@ export default class SolarSystem {
sunPrimitives.forEach((prim) => {
// Add a collider so that the behavior system will work properly on Unity host apps.
const center = { x: 0, y: 0, z: 0} as Vector3Like;
const center = { x: 0, y: 0, z: 0} as MRESDK.Vector3Like;
const radius = 3;
prim.setCollider('sphere', false, center, radius);