summaryrefslogtreecommitdiff
path: root/gfx/models/mesh.h
Commit message (Collapse)AuthorAge
* Add Mesh helper for drawing instancesDan Goodliffe2023-04-26
| | | | Assumes the supplied VAO was created and configured for the mesh it's passed back to.
* Export mesh size and primitive typeDan Goodliffe2023-04-19
|
* Separate storing of mesh vertex/index data from configuring VAODan Goodliffe2023-04-17
|
* Standard typedefs for MeshDan Goodliffe2022-10-13
|
* Replace include guard macros with pragma onceDan Goodliffe2022-01-02
|
* Generic solution for glGen/glDel arrays, then tidy-up the usesDan Goodliffe2022-01-01
|
* RAII for glVertex and glBufferDan Goodliffe2021-12-22
|
* Fix warnings produced by new clang-tidyDan Goodliffe2021-05-02
|
* Fix constness of Mesh constructor paramsDan Goodliffe2021-02-20
|
* Pass lintersDan Goodliffe2021-02-20
|
* Mesh split, bogeys follow rails.Dan Goodliffe2021-02-19
| | | | | | | | | | | | | | Wow. This commit is too big. It: * splits obj loaded meshes into individual named objects. * moves obj to mesh(es) code into new file obj.impl.cpp, removing the clutter from mesh * removes Physical for providing the wrong level of abstraction * bit of a hack to adjust loaded models to offset rail vehicle bogeys to 0 centre, and then applies their calculated position to the mesh All in all, quite a lot of mess... But the result is the rail vehicle bogeys now follow the rails quite authentically.
* New .obj parser, packer, mesherDan Goodliffe2021-02-13
|
* Initial commit generating some basic rail networkDan Goodliffe2021-02-05
|
* Create mesh direct from vertices and indicesDan Goodliffe2021-02-04
|
* Factor to support worlds, objects, windows etcDan Goodliffe2021-01-18
|
* Big reshuffleDan Goodliffe2021-01-17
Fixes code quality warnings now picked up.