29 res ^= (
v1 ^ (
v1 << 16) ^ 89869747UL) * 3644798167UL;
30 res ^= (
v2 ^ (
v2 << 16) ^ 89869747UL) * 3644798167UL;
31 res ^= (
v3 ^ (
v3 << 16) ^ 89869747UL) * 3644798167UL;
32 return res * 69069U + 907133923UL;
36 bool i = (
a.v1 ==
b.v1) && (
a.v2 ==
b.v2) && (
a.v3 ==
b.v3);
37 bool j = (
a.v1 ==
b.v1) && (
a.v3 ==
b.v2) && (
a.v2 ==
b.v3);
38 bool k = (
a.v2 ==
b.v1) && (
a.v1 ==
b.v2) && (
a.v3 ==
b.v3);
40 bool l = (
a.v2 ==
b.v1) && (
a.v3 ==
b.v2) && (
a.v1 ==
b.v3);
41 bool m = (
a.v3 ==
b.v1) && (
a.v1 ==
b.v2) && (
a.v2 ==
b.v3);
42 bool n = (
a.v3 ==
b.v1) && (
a.v2 ==
b.v2) && (
a.v1 ==
b.v3);
44 return i || j || k ||
l || m || n;
53 int degenerate_tris_num_;
54 int duplicate_tris_num_;
55 const bool use_custom_normals_;
67 const float3 &custom_normal);
ATTR_WARN_UNUSED_RESULT const BMLoop * l
Mesh * to_mesh(Main *bmain, char *mesh_name)
bool add_triangle(const float3 &a, const float3 &b, const float3 &c)
STLMeshHelper(int tris_num, bool use_custom_normals)
friend bool operator==(const Triangle &a, const Triangle &b)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
unsigned __int64 uint64_t