Constructor
new LocalDirectedBall(location, radius, material, ptMaterial)
Constructor
Parameters:
Name | Type | Description |
---|---|---|
location |
Isometry | Point | Either an isometry, or a point representing the center of the ball |
radius |
number | the radius of the ball |
material |
Material | the material of the ball |
ptMaterial |
PTMaterial | material for path tracing (optional) |