Skip to content

Conversation

@Konstantin8105
Copy link
Contributor

Fix #13

Copy link
Member

@dmitshur dmitshur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

vertCode := `attribute vec2 coordinates;` +
`void main(void) {` + ` gl_Position = vec4(coordinates,0.0, 1.0);` + `}`

//Create a vertex shader object
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your comment. I will wait @ajhager comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants