• A
    Fixed broken WebGL support detection. · 8e2f8c8b
    alteredq 提交于
    Created "THREE.Supports" object, which should centralize this stuff. So far it detects <canvas>, WebGL and WebWorkers; later it could detect for example GPU capabilities.
    
    Not sure about name or location, but it's pretty tiring go through all examples when something changes, so it should be somewhere in the library.
    
    Code duplication is bad: even html snippets with error message should be centralized somewhere, so that when new browsers arrive we wouldn't have to keep changing them in many places.
    8e2f8c8b
lines_cubes_gl.html 7.3 KB