mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-25 19:04:04 +02:00
wip
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user