Level of detail (default on; see the module documentation): meshes of several resolutions, the one drawn chosen per view. Off: one mesh of set_resolution's segments. Set it before a window shows the sphere.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Sphere), | intent(inout) | :: | self | |||
| logical, | intent(in) | :: | lod |
true: level of detail; false: one mesh |
subroutine set_auto_lod(self, lod) class(Sphere), intent(inout) :: self logical, intent(in) :: lod !! true: level of detail; false: one mesh self%auto_lod_ = lod end subroutine set_auto_lod