Make uniformly ES5

This commit is contained in:
RHY3756547 committed 2018-03-25 23:41:51 +01:00
1 parent a468a7b189
commit 52fba675e8
2 files changed
+12 -12

No files matched your search

+2 -2
View File
@@ -88,8 +88,8 @@ window.NitroParticle = function(scene, emitter, pos, vel, dir, dirVel, duration,
function draw(view, pMatrix, gl) {
var particlePct = t.time / t.duration;
let pos = t.pos;
let vel = t.vel;
var pos = t.pos;
var vel = t.vel;
if (t.attached != null) {
pos = vec3.transformMat4([], pos, t.attached.mat);