Commit Graph

16 Commits

Author SHA1 Message Date
b4281607c6 Use WebGL 2 again 2022-10-23 18:59:52 -06:00
0175d964b3 Draw a sphere instead of a cylinder 2022-10-23 18:51:27 -06:00
f4468349b7 Fixed the broken texturing 2022-10-23 16:21:08 -06:00
8f59344b7d Draw the cylinder instead of the square
The textures are broken because I misunderstood that the texture
coordinates must correlate with vertices, not elements.
2022-10-23 15:43:13 -06:00
270de0a9b1 Remove empty for loop 2022-10-23 12:39:08 -06:00
1584297e8e Fix cylinder vertex positions 2022-10-23 12:38:51 -06:00
a6b3f313e3 Generate vertices for a cylinder 2022-10-23 12:36:16 -06:00
07380c8c91 Make a rectangle 2022-10-23 10:17:35 -06:00
54ff9106db Combine vertex buffers 2022-10-23 10:03:32 -06:00
b91ab4b547 Move vertex data out of the render loop 2022-10-23 09:56:44 -06:00
03fc64b7eb Load a texture badly 2022-10-23 09:10:11 -06:00
bc5f24352b Drag the triangle around 2022-10-22 15:32:28 -06:00
0edc53d30a Rotate the triangle 2022-10-22 13:41:00 -06:00
c83ea2e7c3 Forget all that module noise 2022-10-22 12:08:26 -06:00
16271a79b5 Triangle 2022-10-22 09:53:10 -06:00
3c28404b30 Hello 2022-10-22 09:06:40 -06:00