the complete code can be found here.
https://github.com/jonathanrydholm/we...
Each episode, I´ll create a new commit with the episode number as commit message.
This is a pretty long episode because there a lot of things that needs to be covered before we can render anything.
data:
const vertices = [
0.0, 0.5, 0.0,
-0.5, -0.5, 0.0,
0.5, -0.5, 0.0
];
const indices = [0,1,2];