Skip to content

Commit 0dbcfa2

Browse files
committed
Revert "Un-templatize the Face struct to try to unconfuse the Win compiler"
This reverts commit 8b06a53.
1 parent 8b06a53 commit 0dbcfa2

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

include/Face.h

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@
44

55
#include <cstdint>
66

7-
struct Face
7+
template<typename IndexType>
8+
struct FaceIndex
89
{
9-
uint32_t i1{ 0 };
10-
uint32_t i2{ 0 };
11-
uint32_t i3{ 0 };
10+
IndexType i1{ 0 };
11+
IndexType i2{ 0 };
12+
IndexType i3{ 0 };
1213
};
1314

14-
struct FaceSigned
15-
{
16-
int32_t i1{ 0 };
17-
int32_t i2{ 0 };
18-
int32_t i3{ 0 };
19-
};
15+
using Face = FaceIndex<uint32_t>;
16+
17+
using FaceSigned = FaceIndex<int32_t>;

0 commit comments

Comments
 (0)