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 "with-vertex-array" from Factor's opengl vocabulary. Are there examples of using these commands? George сб, 22 мая 2021 г. в 00:46, Doug Coleman <doug.cole...@gmail.com>: > It's just C ffi calls right? > > On Fri, May 21, 2021 at 4:38 PM George Cherevichenko < > george.chereviche...@gmail.com> wrote: > >> It is VERY outdated. I need OpenGL3.0+ >> https://learnopengl.com/code_viewer.php?code=getting-started/hellotriangle >> https://hsto.org/files/709/5ad/69c/7095ad69c2a5431083ec84dc25b35cdb.png >> >> George >> >> пт, 21 мая 2021 г. в 23:42, Ken Causey <klcau...@gmail.com>: >> >>> https://github.com/factor/factor/tree/master/extra/nehe >>> >>> On Fri, May 21, 2021 at 3:27 PM George Cherevichenko < >>> george.chereviche...@gmail.com> wrote: >>> >>>> Is there an example? A rotating triangle would be enough. >>>> >>>> George >>>> _______________________________________________ >>>> Factor-talk mailing list >>>> Factor-talk@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/factor-talk >>>> >>> _______________________________________________ >>> Factor-talk mailing list >>> Factor-talk@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/factor-talk >>> >> _______________________________________________ >> Factor-talk mailing list >> Factor-talk@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/factor-talk >> > _______________________________________________ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk >
_______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk