- implement model vertex buffer and draw MD2 models using it instead of using the GLCommands from the model.
This commit is contained in:
parent
2cd1118aad
commit
1efc2938b7
10 changed files with 121 additions and 136 deletions
|
|
@ -233,6 +233,7 @@ void FMD3Model::BuildVertexBuffer(FModelVertexBuffer *buf)
|
|||
buf->ibo_shadowdata.Push(surf->tris[k].VertIndex[l]);
|
||||
}
|
||||
}
|
||||
surf->icount = buf->ibo_shadowdata.Size() - surf->iindex;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue