Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Hopson97/MineCraft-One-Week-Challenge
/ addData
Method
addData
Source/Model.cpp:48–55 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
}
47
48
void Model::addData(const Mesh &mesh)
49
{
50
genVAO();
51
52
addVBO(3, mesh.vertexPositions);
53
addVBO(2, mesh.textureCoords);
54
addEBO(mesh.indices);
55
}
56
57
void Model::addVBO(int dimensions, const std::vector<GLfloat> &data)
58
{
Callers
1
bufferMesh
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected