08 What Three.js writes for you
What Three.js prepares for you
Click a name in the code to see its Three.js counterpart.
-3.143.14
Exercise
Runs once per vertexDrag numbers, or edit the code
JS side
gl.uniformMatrix4fv(uModel, …) // rotation 0.60 / 0.10Three.js prepares geometry data, matrices and a compile prefix for you: aPosition ↔ position, uProjection ↔ projectionMatrix.
Try it
- Click uModel in the code and read its Three.js name