1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-25 19:04:04 +02:00
This commit is contained in:
syuilo
2026-03-03 16:09:51 +09:00
parent dbffa5520c
commit 98f74b0c7a
2 changed files with 22 additions and 40 deletions

View File

@@ -88,6 +88,12 @@ export const pictureFrame = defineObject({
const pictureMaterial = findMaterial('__X_PICTURE__');
const uvs = pictureMesh.getVerticesData(BABYLON.VertexBuffer.UVKind);
/**
* a(x,y)---b(x,y)
* | |
* c(x,y)---d(x,y)
*/
const ax = uvs[6];
const ay = uvs[7];
const bx = uvs[2];