Cylinder buffer. Depending on the value ExtensionFragDepth and params.disableImpostor the constructor returns either a CylinderGeometryBuffer or a CylinderImpostorBuffer
params.disableImpostor
{Buffer}
var cylinderBuffer = new CylinderBuffer({ position1: new Float32Array([ 0, 0, 0 ]), position2: new Float32Array([ 1, 1, 1 ]), color: new Float32Array([ 1, 0, 0 ]), color2: new Float32Array([ 0, 1, 0 ]), radius: new Float32Array([ 1 ]) });
Generated using TypeDoc
Cylinder buffer. Depending on the value ExtensionFragDepth and
params.disableImpostor
the constructor returns either a CylinderGeometryBuffer or a CylinderImpostorBuffer{Buffer}
var cylinderBuffer = new CylinderBuffer({ position1: new Float32Array([ 0, 0, 0 ]), position2: new Float32Array([ 1, 1, 1 ]), color: new Float32Array([ 1, 0, 0 ]), color2: new Float32Array([ 0, 1, 0 ]), radius: new Float32Array([ 1 ]) });