Constructor
new LocalRod(location, sides, smoothness, material, ptMaterial)
- Source:
Constructor.
Parameters:
Name | Type | Description |
---|---|---|
location |
Isometry | Point | the location of the rod |
sides |
Vector2 | number | the half width of the rod |
smoothness |
number | smoothness parameter |
material |
Material | the material of the ball |
ptMaterial |
PTMaterial | material for path tracing (optional) |