Closed LeeMcQueen closed 3 years ago
RawModel Loader::createVertexArray(std::vector& vertices, std::vector indices) { //生成Vao(顶点数组对象) unsigned int vaoID = createVAO();
//需要确认 开始 unsigned int indicesSize = indices.size(); //需要确认 完毕 //需要确认 开始 //EBO封装调用 bindIndicesBuffer(&vertices[0], indicesSize); //需要确认 完毕 //记载数据到 storeDataInAttributeList(0, 1 , vertices[0].get)
}
RawModel Loader::createVertexArray(std::vector& vertices, std::vector indices)
{
//生成Vao(顶点数组对象)
unsigned int vaoID = createVAO();
}