зеркало из https://github.com/mozilla/hubs.git
Initialize transform matrix to avoid undefined index references
This commit is contained in:
Родитель
c3f8f7ab94
Коммит
699187a537
|
@ -1,7 +1,17 @@
|
|||
import { showHoverEffect } from "../utils/permissions-utils";
|
||||
|
||||
const interactorOneTransform = [];
|
||||
const interactorTwoTransform = [];
|
||||
const interactorOneTransform = [
|
||||
1, 0, 0, 0,
|
||||
0, 1, 0, 0,
|
||||
0, 0, 1, 0,
|
||||
0, 0, 0, 1
|
||||
];
|
||||
const interactorTwoTransform = [
|
||||
1, 0, 0, 0,
|
||||
0, 1, 0, 0,
|
||||
0, 0, 1, 0,
|
||||
0, 0, 0, 1
|
||||
];
|
||||
|
||||
export const validMaterials = ["MeshStandardMaterial", "MeshBasicMaterial", "MeshPhongMaterial"];
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче