Update Vertex.js

This commit is contained in:
Richard Davey 2020-10-07 12:04:16 +01:00
parent f6671f7864
commit a367799da1

View file

@ -173,8 +173,7 @@ var Vertex = new Class({
F32[++offset] = this.v;
F32[++offset] = textureUnit;
F32[++offset] = tintEffect;
// U32[++offset] = Utils.getTintAppendFloatAlpha(this.color, alpha * this.alpha);
U32[++offset] = Utils.getTintAppendFloatAlpha(0xffffff, 1);
U32[++offset] = Utils.getTintAppendFloatAlpha(this.color, alpha * this.alpha);
return offset;
}