LocalCubeShape

LocalCubeShape

Local cube in Sol.

Constructor

new LocalCubeShape(location, sides, smoothness)

Source:

Constructor.

Parameters:
Name Type Default Description
location Isometry | Point

the location of the cube

sides Vector3 | number

the length of the sides

smoothness number 0.01

the coefficient to smooth the side of the cube (exponential method)

Classes

LocalCubeShape

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: