UNPKG

playcanvas

Version:

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

9 lines (7 loc) 276 B
var particle_customFaceVS = ` let rotationResult = rotateWithMatrix(quadXY, inAngle); let rotatedQuadXY = rotationResult.rotatedVec; rotMatrix = rotationResult.matrix; var localPos = customFace(particlePos, rotatedQuadXY); `; export { particle_customFaceVS as default };