Constructor
new LocalRodShape(location, sides, smoothness)
Constructor.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
location |
Isometry | Point | the location of the rod (only the xy coordinates matter) |
|
sides |
Vector2 | number | the length of the xy-sides |
|
smoothness |
number |
0.01
|
the coefficient to smooth the side of the cube (exponential method) |
Classes
Members
testX :Vector4
A vector to compute the SDF
Type:
testY :Vector4
A vector to compute the SDF
Type:
testZ :Vector4
A vector to compute the SDF