A variation of gl-select which is designed for non-animated scenes
npm install gl-select-static
var createSelectBuffer = require("gl-select-static")
Creates a select buffer with the given shape
Begins a selection rendering pass.
Finishes the selection pass.
Queries the selection buffer for all points within radius.
x
is the x coordinate of the query pointy
is the y coordinate of the query pointradius
is the radius of the selection
Returns A SelectResult with the same contents as in gl-select
Destroys the selection buffer and releases all associated resources
Updates or retrieves the shape of the selection buffer.
(c) 2014 Mikola Lysenko. MIT License