Re: [Factor-talk] OpenGL3.0+

2021-05-22 Thread Ken Causey
First I should be clear that I claim no special knowledge. I'm more of an interested observer and occasional dabbler with Factor. However, a quick grep turned up these areas that may help further at least in the form of example code: https://github.com/factor/factor/tree/master/basis/opengl

Re: [Factor-talk] OpenGL3.0+

2021-05-22 Thread George Cherevichenko
There are three lines of the code which I cannot write in Factor glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW); glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 3 * sizeof(GLfloat), (GLvoid*)0); glEnableVertexAttribArray(0); I wanted to use "with-gl-buffer" or