src/Screens/Experimental/HittestScreen.cpp
// make a VAO for the basic shader
make a VAO for the basic shader
make a VAO for the basic shader
static gl::VertexArray makeVAO(BasicShader& shader, gl::ArrayBuffer<glm::vec3>& vbo)
{
    gl::VertexArray rv;
    gl::BindVertexArray(rv);
    gl::BindBuffer(vbo);
    gl::VertexAttribPointer(shader.aPos, false, sizeof(glm::vec3), 0);
    gl::EnableVertexAttribArray(shader.aPos);
    gl::BindVertexArray();
    return rv;
}
static gl :: VertexArray makeVAO ( BasicShader & shader , gl :: ArrayBuffer < glm :: vec3 > & vbo ) { gl :: VertexArray rv ; gl :: BindVertexArray ( rv ) ; gl :: BindBuffer ( vbo ) ; gl :: VertexAttribPointer ( shader . aPos , false , sizeof ( glm :: vec3 ) , 0 ) ; gl :: EnableVertexAttribArray ( shader . aPos ) ; gl :: BindVertexArray ( ) ; return rv ; }
make a VAO for the basic shader
make a VAO for the basic shader