Christopher Willis-Ford 04cebb9eed Improve color handling in isTouchingColor
- Always take color in unsigned-byte terms.
- Moved tolerance value into a class constant.
- Use the same tolerance in JS color comparison as in the shader.
2016-06-09 15:32:23 -07:00
2016-06-09 15:17:21 -07:00
2016-06-08 09:27:01 -07:00
2016-06-08 09:27:01 -07:00
2016-05-18 12:35:08 -07:00

scratch-render-webgl

Build Status

Installation

npm install scratch-render-webgl

Setup

Standalone Build

make build
<script src="/path/to/render-webgl.js"></script>
<script>
    var renderer = new window.RenderWebGL();
    // do things
</script>

Testing

make test
make coverage
make benchmark
Description
No description provided
Readme 6.4 MiB
Languages
JavaScript 91.9%
GLSL 4.6%
HTML 3.5%