WebGL_0015:参数值在一定范围内循环变化

1,

MeterialUv.prototype.upAdoEssLoop = function(e, a, b, s) {
    if (e) {
        upAdoEssLoop.upAdoEssFlag ? (e.emissiveIntensity += s) : (e.emissiveIntensity -= s);
        a < e.emissiveIntensity ? (e.emissiveIntensity = a, upAdoEssLoop.upAdoEssFlag = !1) : 
        (b > e.emissiveIntensity && (e.emissiveIntensity = b, upAdoEssLoop.upAdoEssFlag = !0));
        e.update()
    }
};

 

posted @ 2020-08-15 19:34  琥珀君  阅读(132)  评论(0编辑  收藏  举报