16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 13:39:18 +02:00

opengl 3.3 renderer integration, minor renderer tweaks

This commit is contained in:
tmj-fstate
2019-10-31 19:37:53 +01:00
parent 9dcaa1e339
commit ae3cecfa42
49 changed files with 1804 additions and 412 deletions

View File

@@ -26,7 +26,7 @@ public:
std::vector<glm::vec3> const & vertices() const {
return m_vertices; }
std::vector<glm::vec3> const & colors() const {
std::vector<glm::vec3> & colors() {
return m_colours; }
std::vector<std::uint16_t> const & indices() const {
return m_indices; }