Constructor
new LocalPotato(location, radius, coeff1, coeff2, exp, material, ptMaterial)
Constructor.
Parameters:
Name | Type | Description |
---|---|---|
location |
Isometry | Point | the location of the potato |
radius |
number | the radius of the ball |
coeff1 |
number | the coefficient for the radial component |
coeff2 |
number | the coefficient for the (fake) height component |
exp |
number | the exponent |
material |
Material | the material of the ball |
ptMaterial |
PTMaterial | material for path tracing (optional) |