UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

13 lines (12 loc) 320 B
var particle_customFace_default = ( /* wgsl */ ` let rotationResult = rotateWithMatrix(quadXY, inAngle); let rotatedQuadXY = rotationResult.rotatedVec; rotMatrix = rotationResult.matrix; var localPos = customFace(particlePos, rotatedQuadXY); ` ); export { particle_customFace_default as default };