diff options
| author | hachem <im@hachem.wtf> | 2025-08-13 18:39:13 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-08-13 18:39:13 +0200 |
| commit | 23086a5d33acc66414f1169bf22abe78b3383f94 (patch) | |
| tree | a895c3e3ab8074118a84aada97ea990b60fba556 /src/rendering/vertex_array.h | |
| parent | 2d8f706efe6e0a02b3238c2f22e7cdce620e9807 (diff) | |
fix: more consistent formatting
Diffstat (limited to 'src/rendering/vertex_array.h')
| -rw-r--r-- | src/rendering/vertex_array.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rendering/vertex_array.h b/src/rendering/vertex_array.h index b51db84..946f273 100644 --- a/src/rendering/vertex_array.h +++ b/src/rendering/vertex_array.h @@ -12,14 +12,14 @@ namespace Donut public: virtual ~VertexArray() = default; - virtual void bind() const = 0; + virtual void bind() const = 0; virtual void unbind() const = 0; virtual void add_vertex_buffer(const std::shared_ptr<VertexBuffer>& vertex_buffer) = 0; - virtual void set_index_buffer(const std::shared_ptr<IndexBuffer>& index_buffer) = 0; + virtual void set_index_buffer(const std::shared_ptr<IndexBuffer>& index_buffer) = 0; virtual const std::vector<std::shared_ptr<VertexBuffer>>& get_vertex_buffers() const = 0; - virtual const std::shared_ptr<IndexBuffer>& get_index_buffer() const = 0; + virtual const std::shared_ptr<IndexBuffer>& get_index_buffer() const = 0; static VertexArray* create(); }; |
