style: move public members first in class declarations

- Reorder all class headers to put public interface before private members
- Document convention in AGENTS.md
This commit is contained in:
2026-05-05 22:30:56 +02:00
parent e71c4d55cf
commit b6adb7c23a
8 changed files with 34 additions and 26 deletions
+3 -2
View File
@@ -5,8 +5,6 @@
namespace cbt::opengl {
class vao {
GLuint m_id = 0;
public:
vao();
~vao();
@@ -21,6 +19,9 @@ public:
auto unbind() const -> void;
auto id() const -> GLuint;
auto valid() const -> bool;
private:
GLuint m_id = 0;
};
}