X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgraphics%2FVertexArray.hpp;fp=src%2Fgraphics%2FVertexArray.hpp;h=5f70f4227365849f5416b220fd36a679d011f0c7;hb=f071bb512a09cece895e65ca48eba2a7155d6593;hp=c1c74950e883f2e0f0296d8dfbe18884c7dc27cb;hpb=1e93bfb5089737f6b6d8fdd2f17260944fca44b2;p=blank.git diff --git a/src/graphics/VertexArray.hpp b/src/graphics/VertexArray.hpp index c1c7495..5f70f42 100644 --- a/src/graphics/VertexArray.hpp +++ b/src/graphics/VertexArray.hpp @@ -27,7 +27,7 @@ public: void Bind() const noexcept; template - void PushAttribute(std::size_t which, const std::vector &data) noexcept; + void PushAttribute(std::size_t which, const std::vector &data, bool normalized = false) noexcept; template void PushIndices(std::size_t which, const std::vector &indices) noexcept; @@ -41,7 +41,7 @@ private: template void AttributeData(const std::vector &) noexcept; template - void AttributePointer(std::size_t which) noexcept; + void AttributePointer(std::size_t which, bool normalized = false) noexcept; void BindIndex(std::size_t which) const noexcept; template