Merge pull request #1 from Yakim3396/master

Disable mirroring on axis and flip faces
This commit is contained in:
lzwdgc 2020-12-08 22:00:14 +03:00 committed by GitHub
commit f62ea935f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,7 +97,7 @@ static void load_translated(aim_vector3<float> &v, const buffer &b)
READ(b, v.y);
READ(b, v.x);
READ(b, v.z);
v.y = -v.y;
//v.y = -v.y;
// after load we have eMayaYUp
}
@ -141,6 +141,7 @@ void vertex::load(const buffer &b, uint32_t flags)
void face::load(const buffer &b)
{
READ(b, vertex_list);
std::swap(vertex_list[0], vertex_list[2]);
}
static String print_float(double v)