2022-02-07 09:45:08 +11:00
|
|
|
module povstuff
|
|
|
|
|
|
|
|
implicit none
|
|
|
|
|
|
|
|
! ----------------------------------------------------------------
|
|
|
|
type t_boundb
|
2022-02-08 12:53:49 +11:00
|
|
|
!
|
2022-02-07 09:45:08 +11:00
|
|
|
real :: BBminX, BBmaxX, BBminY, BBmaxY, BBminZ, BBmaxZ
|
|
|
|
integer :: id
|
2022-02-08 12:53:49 +11:00
|
|
|
!
|
2022-02-07 09:45:08 +11:00
|
|
|
end type
|
|
|
|
|
|
|
|
contains ! -----------------------------------------
|
|
|
|
|
|
|
|
subroutine show_bbox( bbox )
|
2024-02-07 03:03:00 +11:00
|
|
|
implicit none
|
2022-02-07 09:45:08 +11:00
|
|
|
type (t_boundb), intent(in) :: bbox
|
|
|
|
|
|
|
|
print *, bbox%bbminx, bbox%bbminy, bbox%bbminz
|
|
|
|
print *, bbox%bbmaxx, bbox%bbmaxy, bbox%bbmaxz
|
|
|
|
|
|
|
|
end subroutine
|
|
|
|
|
2022-02-09 04:56:51 +11:00
|
|
|
! ----------------------------------------------------------------
|
|
|
|
|
2022-02-17 00:29:29 +11:00
|
|
|
subroutine start_of_inc_file (fd)
|
2024-02-07 03:03:00 +11:00
|
|
|
implicit none
|
2022-02-17 00:29:29 +11:00
|
|
|
integer, intent (in) :: fd
|
|
|
|
|
|
|
|
write(fd, '(A)') "// DON'T EDIT THIS FILE !"
|
|
|
|
|
|
|
|
end subroutine
|
|
|
|
|
2022-02-07 09:45:08 +11:00
|
|
|
! ----------------------------------------------------------------
|
2022-02-08 12:53:49 +11:00
|
|
|
! we need some primitives for the gestion of colors.
|
|
|
|
! may be a small database indexed by name ?
|
|
|
|
! XXX
|
|
|
|
! ----------------------------------------------------------------
|
2022-02-07 09:45:08 +11:00
|
|
|
|
|
|
|
end module
|
|
|
|
|