phaser/v3/src/gameobjects/mesh/MeshWebGLRenderer.js

11 lines
244 B
JavaScript
Raw Normal View History

2017-05-16 23:07:52 +00:00
var MeshWebGLRenderer = function (renderer, src, interpolationPercentage, camera)
{
if (this.renderMask !== this.renderFlags)
{
return;
}
2017-05-17 16:12:17 +00:00
renderer.spriteBatch.addMesh(src, camera);
2017-05-16 23:07:52 +00:00
};
module.exports = MeshWebGLRenderer