mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-27 03:53:24 +00:00
Box/Quad clone methods
Phong lighting shaders using multi draw indirect rendering
This commit is contained in:
@@ -207,6 +207,9 @@ namespace vb01{
|
||||
shapeKeys,
|
||||
numShapeKeys
|
||||
);
|
||||
|
||||
Root *root = Root::getSingleton();
|
||||
root->initVertexDataOnGpu(meshData, root->getMeshVAO(), root->getMeshVBO(), root->getMeshEBO(), true);
|
||||
Mesh *mesh = new Mesh(meshData);
|
||||
|
||||
return mesh;
|
||||
|
||||
Reference in New Issue
Block a user