summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/codec/c++/data_math.hpp16
-rw-r--r--modules/codec/c++/schema_math.hpp16
2 files changed, 32 insertions, 0 deletions
diff --git a/modules/codec/c++/data_math.hpp b/modules/codec/c++/data_math.hpp
new file mode 100644
index 0000000..3bda481
--- /dev/null
+++ b/modules/codec/c++/data_math.hpp
@@ -0,0 +1,16 @@
+#pragma once
+
+#include "schema_math.hpp"
+
+namespace saw {
+template<typename T>
+class data<schema::Quarternion<T>,encode::Native> {
+private:
+ std::array<data<T,encode::Native>, 4u> vals_;
+public:
+
+
+
+
+};
+}
diff --git a/modules/codec/c++/schema_math.hpp b/modules/codec/c++/schema_math.hpp
new file mode 100644
index 0000000..471409f
--- /dev/null
+++ b/modules/codec/c++/schema_math.hpp
@@ -0,0 +1,16 @@
+#pragma once
+
+#include "schema.hpp"
+
+namespace saw {
+namespace schema {
+template<typename T>
+struct Complex {};
+
+template<typename T>
+struct Quaternion {};
+
+template<typename T, uint64_t D>
+struct Euler {};
+}
+}