Join Slack
Powered by
or maybe the `vertexBuffer` or `vertexArrayId` isn...
# kotlin-native
n
norman784
05/25/2018, 12:25 PM
or maybe the
vertexBuffer
or
vertexArrayId
isn’t set the right way, those parts are so strange and awkward for me, I do something similar in Swift and was straight forward
o
olonho
05/25/2018, 1:07 PM
OpenGL is used for example, in
https://github.com/JetBrains/kotlin-native/tree/master/samples/androidNativeActivity
olonho
05/25/2018, 1:09 PM
i.e. here
https://github.com/JetBrains/kotlin-native/blob/7aa92eaa2594ff27e891088b4e2ebf8416239791/samples/androidNativeActivity/src/main/kotlin/Renderer.kt#L82
n
norman784
05/25/2018, 1:26 PM
its quite different, but will try to understand whats going on there and try to reimplement in OpenGL, because I’m targeting desktop and not mobile. I found this yesterday and tried to follow it because is more close to the OpenGL tutorial approach
https://github.com/JetBrains/kotlinconf-spinner/blob/f37a6ea758b04915d619fcf68273e4a21ae4d9fc/kotlin-native/samples/fullstack/clients/shared/src/main/kotlin/gl.kt#L46
2
Views
Open in Slack
Previous
Next