summaryrefslogtreecommitdiff
path: root/libs/assimp/code/AssetLib/X3D/X3DGeoHelper.h
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-02-12 23:53:22 -0600
committersanine <sanine.not@pm.me>2023-02-12 23:53:22 -0600
commitf1fe73d1909a2448a004a88362a1a532d0d4f7c3 (patch)
treeab37ae3837e2f858de2932bcee9f26e69fab3db1 /libs/assimp/code/AssetLib/X3D/X3DGeoHelper.h
parentf567ea1e2798fd3156a416e61f083ea3e6b95719 (diff)
switch to tinyobj and nanovg from assimp and cairo
Diffstat (limited to 'libs/assimp/code/AssetLib/X3D/X3DGeoHelper.h')
-rw-r--r--libs/assimp/code/AssetLib/X3D/X3DGeoHelper.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/libs/assimp/code/AssetLib/X3D/X3DGeoHelper.h b/libs/assimp/code/AssetLib/X3D/X3DGeoHelper.h
deleted file mode 100644
index 78e57f9..0000000
--- a/libs/assimp/code/AssetLib/X3D/X3DGeoHelper.h
+++ /dev/null
@@ -1,39 +0,0 @@
-#pragma once
-
-#include <assimp/vector2.h>
-#include <assimp/vector3.h>
-#include <assimp/color4.h>
-#include <assimp/types.h>
-
-#include <list>
-#include <vector>
-
-struct aiFace;
-struct aiMesh;
-
-namespace Assimp {
-
-class X3DGeoHelper {
-public:
- static aiVector3D make_point2D(float angle, float radius);
- static void make_arc2D(float pStartAngle, float pEndAngle, float pRadius, size_t numSegments, std::list<aiVector3D> &pVertices);
- static void extend_point_to_line(const std::list<aiVector3D> &pPoint, std::list<aiVector3D> &pLine);
- static void polylineIdx_to_lineIdx(const std::list<int32_t> &pPolylineCoordIdx, std::list<int32_t> &pLineCoordIdx);
- static void rect_parallel_epiped(const aiVector3D &pSize, std::list<aiVector3D> &pVertices);
- static void coordIdx_str2faces_arr(const std::vector<int32_t> &pCoordIdx, std::vector<aiFace> &pFaces, unsigned int &pPrimitiveTypes);
- static void add_color(aiMesh &pMesh, const std::list<aiColor3D> &pColors, const bool pColorPerVertex);
- static void add_color(aiMesh &pMesh, const std::list<aiColor4D> &pColors, const bool pColorPerVertex);
- static void add_color(aiMesh &pMesh, const std::vector<int32_t> &pCoordIdx, const std::vector<int32_t> &pColorIdx,
- const std::list<aiColor3D> &pColors, const bool pColorPerVertex);
- static void add_color(aiMesh &pMesh, const std::vector<int32_t> &pCoordIdx, const std::vector<int32_t> &pColorIdx,
- const std::list<aiColor4D> &pColors, const bool pColorPerVertex);
- static void add_normal(aiMesh &pMesh, const std::vector<int32_t> &pCoordIdx, const std::vector<int32_t> &pNormalIdx,
- const std::list<aiVector3D> &pNormals, const bool pNormalPerVertex);
- static void add_normal(aiMesh &pMesh, const std::list<aiVector3D> &pNormals, const bool pNormalPerVertex);
- static void add_tex_coord(aiMesh &pMesh, const std::vector<int32_t> &pCoordIdx, const std::vector<int32_t> &pTexCoordIdx,
- const std::list<aiVector2D> &pTexCoords);
- static void add_tex_coord(aiMesh &pMesh, const std::list<aiVector2D> &pTexCoords);
- static aiMesh *make_mesh(const std::vector<int32_t> &pCoordIdx, const std::list<aiVector3D> &pVertices);
-};
-
-} // namespace Assimp