Lower level utilities for creating WebGL shape geometries.
These are not intended for general consumption.
Methods
# static drawCone(geo, from, to, radius, color)
Create a cone
Parameters:
Name | Type | Description |
---|---|---|
geo |
geometry
|
|
from |
Point
|
|
to |
Point
|
|
radius |
float
|
|
color |
Color
|
# static drawCylinder(geo, from, to, radius, color, fromCap, toCap)
Create a cylinder