mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-24 16:14:11 +02:00
Update engine.ts
This commit is contained in:
@@ -247,6 +247,7 @@ class ModelManager {
|
|||||||
}
|
}
|
||||||
//newMesh.bakeCurrentTransformIntoVertices();
|
//newMesh.bakeCurrentTransformIntoVertices();
|
||||||
|
|
||||||
|
// TODO: 必要な時だけやる
|
||||||
if (newMesh.getVerticesData(BABYLON.VertexBuffer.UVKind) == null) {
|
if (newMesh.getVerticesData(BABYLON.VertexBuffer.UVKind) == null) {
|
||||||
const vertexCount = newMesh.getTotalVertices();
|
const vertexCount = newMesh.getTotalVertices();
|
||||||
const uvs = new Array(vertexCount * 2).fill(0);
|
const uvs = new Array(vertexCount * 2).fill(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user