Triangle (trngl)

key: trngl

type: (iii)*

  1. integer: vertex index.
  2. integer: vertex index.
  3. integer: vertex index.

Description

A set of triangles defined by indices into the corresponding vertex list(s)

Examples

msh  % a two triangle mesh
"" mtrlNm "mat" end
   vrtxPstn
     0.5 -0.5 0.0
     0.5  0.5 0.0
     -0.5  0.5 0.0
     -0.5 -0.5 0.0
   end
   vrtxUV    % used for texture mapping
     1.0 0.0
     1.0 1.0
     0.0 1.0
     0.0 0.0
   end
   trngl
     0 1 2 
     1 2 3
   end
end