Sphere buffer. Depending on the value ExtensionFragDepth and params.disableImpostor the constructor returns either a SphereGeometryBuffer or a SphereImpostorBuffer
params.disableImpostor
{Buffer}
var sphereBuffer = new SphereBuffer( { position: new Float32Array( [ 0, 0, 0 ] ), color: new Float32Array( [ 1, 0, 0 ] ), radius: new Float32Array( [ 1 ] ) } );
buffer data
parameters object
the buffer object
Generated using TypeDoc
Sphere buffer. Depending on the value ExtensionFragDepth and
params.disableImpostor
the constructor returns either a SphereGeometryBuffer or a SphereImpostorBuffer{Buffer}
var sphereBuffer = new SphereBuffer( { position: new Float32Array( [ 0, 0, 0 ] ), color: new Float32Array( [ 1, 0, 0 ] ), radius: new Float32Array( [ 1 ] ) } );