mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-14 07:35:35 +02:00
wip
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 212 KiB After Width: | Height: | Size: 1.1 MiB |
@@ -72,7 +72,7 @@ export const randomBooks = defineObject({
|
||||
mesh.morphTargetManager = bodyMesh.morphTargetManager.clone();
|
||||
mesh.markVerticesDataAsUpdatable(BABYLON.VertexBuffer.UVKind, true);
|
||||
|
||||
const index = Math.floor(rng() * 44);
|
||||
const index = Math.floor(rng() * (TEXTURE_DIVISION * TEXTURE_DIVISION));
|
||||
const x = index % TEXTURE_DIVISION;
|
||||
const y = Math.floor(index / TEXTURE_DIVISION);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user