module MeshD2:sig
..end
face-indices with indexed textures
val get_mesh : points:Povray.location array ->
faces:(Povray.face_indice * int) array ->
textures:Povray.texture array ->
?translate:float * float * float ->
?rotate:float * float * float ->
?scale:float * float * float -> unit -> string
val add_mesh : Povray.scene ->
points:Povray.location array ->
faces:(Povray.face_indice * int) array ->
textures:Povray.texture array ->
?translate:float * float * float ->
?rotate:float * float * float ->
?scale:float * float * float -> unit -> Povray.scene
faces
: face_indice
, 3 indices from the points
array,
and an additional indice to select a texture
from the textures
array.