Adding notes in commonly edited scripts to clarify where functions with // notes to know what the script does in better detail.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "Common.h"
|
||||
#include "ModelLoader.h"
|
||||
|
||||
#pragma region Mesh Builder State
|
||||
// Lightweight mesh editing state used by the MeshBuilder panel.
|
||||
class MeshBuilder {
|
||||
public:
|
||||
@@ -11,7 +12,9 @@ public:
|
||||
std::string loadedPath;
|
||||
bool dirty = false;
|
||||
int selectedVertex = -1;
|
||||
#pragma endregion
|
||||
|
||||
#pragma region Mesh Builder API
|
||||
bool load(const std::string& path, std::string& error);
|
||||
bool save(const std::string& path, std::string& error);
|
||||
void clear();
|
||||
@@ -20,3 +23,4 @@ public:
|
||||
// Add a new face defined by vertex indices (3 = triangle, 4 = quad fan).
|
||||
bool addFace(const std::vector<uint32_t>& indices, std::string& error);
|
||||
};
|
||||
#pragma endregion
|
||||
|
||||
Reference in New Issue
Block a user