How can i draw a polygon in three js if i have 4 vertices

See Collection of examples from discourse.threejs.org 2017

2020-07-24 20.38.09

Note
.addAttribute is now .setAttribute

2 Likes