new Arc( params ) → {Points}

Description
Creates a points object
Parameters
Name Type Description
params Object Parameters for object
Returns

Members


update

Description
Update uniforms for draw
Parameters
Name Type Description
gl WebglContext WebglContext
sceneProps Object Object of scene uniforms
time number frametime

rayCastFrom

Description
Ray cast to points object
Parameters
Name Type Description
ray Object worldspace ray to cast
Returns

hitTest

Description
Hit test to points object
Parameters
Name Type Description
ray Object worldspace ray to test
Returns

Methods


init( gl )

Description
Initialize geometry & shaders in Webgl context
Parameters
Name Type Description
gl WebGLContext WebGL context

draw( gl )

Description
Renders to the webgl context
Parameters
Name Type Description
gl Webgl Webgl context