UNPKG

playcanvas

Version:

PlayCanvas WebGL game engine

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