Box

Box

Euclidean box

Constructor

new Box(location, sides, rounded, material, ptMaterial)

Source:

Constructor

Parameters:
Name Type Description
location Isometry | Point

the location of the ball

sides Vector3

the side lengths of the box

rounded number

the if the box is rounded

material Material

the material of the ball

ptMaterial PTMaterial

material for path tracing (optional)

Classes

Box