Browse Source

Изменения от Главреда ГитЖС | Changes of GitJS Glavred

master
Главред | Glavred 3 years ago
parent
commit
5df7a05721
2 changed files with 8 additions and 1 deletions
  1. +1
    -1
      0000
  2. +7
    -0
      🎬.js

+ 1
- 1
0000 View File

@@ -1,5 +1,5 @@
Рисователь
0.7.3
0.7.4
https://git.opengamestudio.org/PuCOBATEJlb/PuCOBATEJlb

/base64js.min.js


+ 7
- 0
🎬.js View File

@@ -114,6 +114,13 @@ height: ${размер}%;
мир.масштаб = 1;
мир.канва = document.createElement("canvas");
мир.родительКанвы = document.createElement("div");
мир.родительКанвы.style = `
left: 0;
right: 0;
top: 0;
bottom: 0;
overflow: auto;
`;
мир.родительКанвы.appendChild(мир.канва);
document.body.prepend(мир.родительКанвы);
мир.рисователь = new THREE.WebGLRenderer({canvas: мир.канва, antialias: true});


Loading…
Cancel
Save