LocalPotato

LocalPotato

Local potato shape in Nil.

Constructor

new LocalPotato(location, radius, coeff1, coeff2, exp, material, ptMaterial)

Source:

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)

Classes

LocalPotato
LocalPotato

LocalPotato LocalPotato

Fake ball in SL(2,R).