Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CylinderBuffer

Cylinder buffer. Depending on the value ExtensionFragDepth and params.disableImpostor the constructor returns either a CylinderGeometryBuffer or a CylinderImpostorBuffer

implements

{Buffer}

example

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 ]) });

Hierarchy

  • CylinderBuffer

Index

Constructors

Constructors

constructor

Generated using TypeDoc