./save//./examples/en/example_107 Editor
     
//--------------------------
// example 7
// triangle geometry
 
 
settings(SKY,off)
settings(DIRECTIONAL,on)

 
//---------------------------------------
// blue triangle 

color(#0055FF)
triangle
  point(-6,2,0)
  point(-6,6,0)
  point(-1,2,0)
triangle.end


//---------------------------------------
// yelow triangle 

color(#FFFF00)
triangle
  point(6,2,0)
  point(6,6,0)
  point(1,2,0)
triangle.end


//---------------------------------------


texture(matematika/p_15.jpg,4,4)
triangle
  point(-5,-4, 0)
  point( 0, 1, 0)
  point( 5,-4, 0)
triangle.end