Moved vertices setup and surface rendering into 2 functions.
Attach a file by drag & drop or click to upload