Added Ribbon object.
It provides a lean way how to render TRIANGLE_STRIP primitives: needs just n+2 vertices for n triangles (one Ribbon = one strip). There are no faces, no indices, everything is rendered in one simple drawArray call. Vertex colors are supported, normals not yet.
Showing
此差异已折叠。
此差异已折叠。
此差异已折叠。
examples/ribbons_gl.html
0 → 100644
想要评论请 注册 或 登录