Faces lit by the scene's lights (the default), or unlit (their color as is, transparent as a cone's sides: writing no depth).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Polyhedron), | intent(inout) | :: | self | |||
| logical, | intent(in) | :: | lit |
true: lit; false: unlit and transparent |
subroutine set_lit(self, lit) class(Polyhedron), intent(inout) :: self logical, intent(in) :: lit !! true: lit; false: unlit and transparent self%lit_ = lit call make_polyhedron(self) end subroutine set_lit