Make uniformly ES5
This commit is contained in:
1 parent
a468a7b189
commit
52fba675e8
2 files changed
+12
-12
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user