From befc5afb22b36d744c403d103d591c5d190d394f Mon Sep 17 00:00:00 2001 From: Csaba Hruska Date: Mon, 21 Dec 2015 13:48:22 +0100 Subject: add lambdacube-ir haskell lib --- ddl/out/Mesh2.hpp | 107 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 ddl/out/Mesh2.hpp (limited to 'ddl/out/Mesh2.hpp') diff --git a/ddl/out/Mesh2.hpp b/ddl/out/Mesh2.hpp new file mode 100644 index 0000000..aafa637 --- /dev/null +++ b/ddl/out/Mesh2.hpp @@ -0,0 +1,107 @@ +// generated file, do not modify! +// 2015-12-21T12:00:19.818584000000Z + +#ifndef HEADER_Mesh_H +#define HEADER_Mesh_H + +#include "RT.hpp" + + +namespace data { + class A_Float { + public: + std::vector _0; + }; + class A_V2F { + public: + std::vector _0; + }; + class A_V3F { + public: + std::vector _0; + }; + class A_V4F { + public: + std::vector _0; + }; + class A_M22F { + public: + std::vector _0; + }; + class A_M33F { + public: + std::vector _0; + }; + class A_M44F { + public: + std::vector _0; + }; + class A_Int { + public: + std::vector _0; + }; + class A_Word { + public: + std::vector _0; + }; +} +class MeshAttribute { +public: + enum class tag { + A_Float, + A_V2F, + A_V3F, + A_V4F, + A_M22F, + A_M33F, + A_M44F, + A_Int, + A_Word + } tag; + std::shared_ptr A_Float; + std::shared_ptr A_V2F; + std::shared_ptr A_V3F; + std::shared_ptr A_V4F; + std::shared_ptr A_M22F; + std::shared_ptr A_M33F; + std::shared_ptr A_M44F; + std::shared_ptr A_Int; + std::shared_ptr A_Word; +}; +namespace data { + class P_TriangleStripI { + public: + std::vector _0; + }; + class P_TrianglesI { + public: + std::vector _0; + }; +} +class MeshPrimitive { +public: + enum class tag { + P_Points, + P_TriangleStrip, + P_Triangles, + P_TriangleStripI, + P_TrianglesI + } tag; + std::shared_ptr P_TriangleStripI; + std::shared_ptr P_TrianglesI; +}; +namespace data { + class Mesh { + public: + std::map> mAttributes; + std::shared_ptr<::MeshPrimitive> mPrimitive; + }; +} +class Mesh { +public: + enum class tag { + Mesh + } tag; + std::shared_ptr Mesh; +}; +#endif -- cgit v1.2.3