Once we have the unit cube defined we need to create a transform to move it to a new location and add a rotation so that we can see more than the front face: var angle = 45*Math.PI/180; var sy = ...
Although our example is enough to introduce most of the aspects of using WebGL in 3D, we need something slightly more realistic to demonstrate the possibilities. The usual first example is a 3D cube.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results