Source

WebGL Beginner's Guide - Code / 1727_08 / models / geometry / plane.json

Full commit
1
2
3
4
5
6
{
  "vertices" : [-50.0,-5.0,-50.0,50.0,-5.0,-50.0,-50.0,-5.0,50.0,50.0,-5.0,50.0],
  "indices"  : [2,1,0,1,2,3],
  "ambient"  : [0.17,0.19,0.14,1.0],
  "diffuse"  : [0.31,0.61,0.21,1.0]
}