Note: This shape isn't closed, so there may be odd lighting issues if it's oriented the wrong way.

csg_plane(x = 0, y = 0, z = 0, normal = c(0, 1, 0), width_x = 4, width_z = 4)

## Arguments

x Default 0. An x-coordinate on the plane. Default 0. A y-coordinate on the plane. Default 0. A z-coordinate on the plane. Default c(0,1,0). Surface normal of the plane. Default 10. Default 10.

## Value

List describing the plane in the scene.

## Examples

# \donttest{
#Generate a plane
csg_object(csg_plane(width_x=4, width_z=4), material=diffuse(checkercolor="purple")) %>%
render_scene(clamp_value=10,sample_method="stratified")
#Combine the plane with a sphere
csg_object(csg_combine(