#VRML V1.0 ascii

# by Kambi, by hand

Group {
  Scale { scaleFactor 0.2 0.2 0.2 }

  # wspolrzedne tekstury i wierzcholkow szescianu.
  Coordinate3 {
    point [ 0 0 0, 0 0 1, 0 1 0, 0 1 1, 1 0 0, 1 0 1, 1 1 0, 1 1 1 ]
  }

  TextureCoordinate2 {
    point [ 1 0, 1 1, 0 0, 0 1 ]
  }

  Texture2 { filename "../textures/tnt.png" } # front
  IndexedFaceSet { coordIndex [ 4, 0, 1, 5 ] textureCoordIndex [ 0, 2, 3, 1 ] }
  Texture2 { filename "../textures/tnt.png" } # back
  IndexedFaceSet { coordIndex [ 2, 6, 7, 3 ] textureCoordIndex [ 0, 2, 3, 1 ] }
  Texture2 { filename "../textures/tnt.png" } # left
  IndexedFaceSet { coordIndex [ 0, 2, 3, 1 ] textureCoordIndex [ 0, 2, 3, 1 ] }
  Texture2 { filename "../textures/tnt.png" } # right
  IndexedFaceSet { coordIndex [ 6, 4, 5, 7 ] textureCoordIndex [ 0, 2, 3, 1 ] }
  Texture2 { filename "../textures/tnt_no_text.png" } # up
  IndexedFaceSet { coordIndex [ 5, 1, 3, 7 ] textureCoordIndex [ 0, 2, 3, 1 ] }
  Texture2 { filename "../textures/tnt_no_text.png" } # down
  IndexedFaceSet { coordIndex [ 6, 2, 0, 4 ] textureCoordIndex [ 0, 2, 3, 1 ] }
}
