I remember looking at that. It’s still a bit more low level than I would like. 
For example, you still need to manually cram OpenGL types into boilerplate 
function calls:

[https://github.com/jackmott/easygl/blob/master/examples/getting_started/shaderstut.nim#L41](https://github.com/jackmott/easygl/blob/master/examples/getting_started/shaderstut.nim#L41)

That kind of stuff can be generated automatically by integrating with Nim’s 
type system via macros:

[https://github.com/Nycto/safegl-nim/blob/master/src/safegl/vertex.nim#L39](https://github.com/Nycto/safegl-nim/blob/master/src/safegl/vertex.nim#L39)

Reply via email to