Example#16
Conversation
There was a problem hiding this comment.
The directory should be named example, not examples, per https://dmitri.shuralyov.com/idiomatic-go#use-singular-form-for-collection-repo-folder-name.
Note that I don't have write permissions for this repository, so someone else will need to do final review and merge. I think @ajhager owns this repository, you should check with him whether it's supported.
examples/Simple2D/webgl.go
Outdated
| vertCode := `attribute vec2 coordinates;` + | ||
| `void main(void) {` + ` gl_Position = vec4(coordinates,0.0, 1.0);` + `}` | ||
|
|
||
| //Create a vertex shader object |
There was a problem hiding this comment.
Comments should be consistent and use a space after //, like above.
Here, and below.
Reference: https://dmitri.shuralyov.com/idiomatic-go#comments-for-humans-always-have-a-single-space-after-the-slashes.
There was a problem hiding this comment.
Thank you for your comment. I will wait @ajhager comment.
Fix #13