forked from HackerPoet/Beryl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.h
More file actions
26 lines (23 loc) · 663 Bytes
/
Copy pathtypes.h
File metadata and controls
26 lines (23 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#pragma once
#pragma warning(disable : 26451)
#pragma warning(disable : 26495)
#pragma warning(disable : 26812)
#pragma warning(push, 0)
#include <Eigen/Dense>
#pragma warning(pop)
#include <map>
#include <vector>
using Eigen::Vector2f;
using Eigen::Vector3f;
using Eigen::Vector3d;
using Eigen::VectorXf;
using Eigen::Matrix3f;
using Eigen::Matrix3d;
using Verts2D = std::vector<Vector2f>;
using Verts3D = std::vector<Vector3f>;
using Face = std::vector<int>;
using Faces = std::vector<Face>;
using Edge = std::pair<int, int>;
using Edges = std::vector<Edge>;
using FaceMap = std::map<int, std::vector<int>>;
using EdgeMap = std::map<Edge, std::vector<int>>;