Real-Time 3D Graphics with WebGL 2
上QQ阅读APP看书,第一时间看更新

Have a Go: Add One Validation

Modify the file so that you can validate and show on screen whether the indices array and the coneIndexBuffer are WebGL buffers.

Hint

In order to display the values, you will have to modify the table in the HTML body and modify the  updateInfo function accordingly.