Return to index
NAME
rectprism - Create a closed rectangular prism.
SYNOPSIS
rectprism v1 v2
DESCRIPTION
Create a closed rectangular prism using the current material. The two vertices define the opposite square of the prism. Its order is irrelevant. If these are undefined an error will result.
If the vertices has associated normals, they aren't applied.
EXAMPLE
# Create the vertices
v v1 =
p 0 0 0
v v2 =
p 1 1 1
# Create the rectangular prism
rectprism v1 v2