GLStateCache.js
GLStateCache.js copied to clipboard
fix typo
Hi, @spite
I made the following improvements
fix typo :
-
cache.far === depthRangeFar
=>cache.depthRangeFar === far
-
cache.disableVertexAttribArray
=>cache.disableVertexAttribArrayIndex
-
cache.enableVertexAttribArray
=>enableVertexAttribArrayIndex
add functions:
-
blendColor
-
blendEquationSeparate
-
blendFuncSeparate
-
colorMask
-
depthFunc
-
depthMask