feat: project skeleton, core types and math with transform tests

This commit is contained in:
Martino Ferrari committed 2026-09-27 20:54:19 +02:00
1 parent e4051bc6b5
commit 8a7e9e97f8
21 files changed
+515 -2

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
#include <plot/core/status.hpp>
namespace plot {
const char* to_string(ErrorCode code) noexcept {
switch (code) {
case ErrorCode::Ok:
return "Ok";
case ErrorCode::InvalidArgument:
return "InvalidArgument";
case ErrorCode::OutOfMemory:
return "OutOfMemory";
case ErrorCode::GLFailure:
return "GLFailure";
case ErrorCode::Unsupported:
return "Unsupported";
case ErrorCode::NotImplemented:
return "NotImplemented";
}
return "Unknown";
}
} // namespace plot