LocalRodShape

LocalRodShape

Local cube in Sol.

Constructor

new LocalRodShape(location, sides, smoothness)

Source:

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

LocalRodShape

Members

testX :Vector4

Source:

A vector to compute the SDF

Type:

testY :Vector4

Source:

A vector to compute the SDF

Type:

testZ :Vector4

Source:

A vector to compute the SDF

Type: