mirror of
https://github.com/pyalot/webgl-heatmap.git
synced 2025-12-08 20:13:00 +00:00
Refactoring and call direct function
This commit is contained in:
parent
eb909fd1a4
commit
4c996404d9
@ -990,6 +990,6 @@ class WebGLHeatmap
|
||||
blur: -> @heights.blur()
|
||||
|
||||
addPoint: (x, y, size, intensity) -> @heights.addPoint x, y, size, intensity
|
||||
addPoints: (items) -> (@heights.addPoint item.x, item.y, item.size, item.intensity for item in items)
|
||||
addPoints: (items) -> (@addPoint item.x, item.y, item.size, item.intensity for item in items)
|
||||
|
||||
window.createWebGLHeatmap = (params) -> new WebGLHeatmap(params)
|
||||
|
||||
1951
webgl-heatmap.js
1951
webgl-heatmap.js
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user