(value)
| 64888 | return false; |
| 64889 | } |
| 64890 | function checkUniformArray(value) { |
| 64891 | if (value.length === 0) return false; |
| 64892 | var checkLength = Math.min(value.length, 16); |
| 64893 | for(var i = 0; i < checkLength; ++i){ |
| 64894 | if (!Number.isFinite(value[i])) return false; |
| 64895 | } |
| 64896 | return true; |
| 64897 | } |
| 64898 | function copyUniform(uniforms, key, value) { |
| 64899 | if (Array.isArray(value) || ArrayBuffer.isView(value)) { |
| 64900 | if (uniforms[key]) { |
no test coverage detected