feat: some shit
This commit is contained in:
@ -50,6 +50,7 @@ export function createLeaves({ canvas, num = 20, alpha = false, minZ = -1, maxZ
|
||||
|
||||
const model = await GLTFLoader.load(gl, "/models/leaf.glb");
|
||||
|
||||
// @ts-ignore
|
||||
const data = model.nodes[0].children[0].geometry.attributes;
|
||||
|
||||
let offset = new Float32Array(num * 3);
|
||||
|
Reference in New Issue
Block a user