mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-15 01:43:25 +00:00
Merge pull request #1 from Yakim3396/master
Disable mirroring on axis and flip faces
This commit is contained in:
commit
f62ea935f6
1 changed files with 2 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ static void load_translated(aim_vector3<float> &v, const buffer &b)
|
||||||
READ(b, v.y);
|
READ(b, v.y);
|
||||||
READ(b, v.x);
|
READ(b, v.x);
|
||||||
READ(b, v.z);
|
READ(b, v.z);
|
||||||
v.y = -v.y;
|
//v.y = -v.y;
|
||||||
|
|
||||||
// after load we have eMayaYUp
|
// after load we have eMayaYUp
|
||||||
}
|
}
|
||||||
|
|
@ -141,6 +141,7 @@ void vertex::load(const buffer &b, uint32_t flags)
|
||||||
void face::load(const buffer &b)
|
void face::load(const buffer &b)
|
||||||
{
|
{
|
||||||
READ(b, vertex_list);
|
READ(b, vertex_list);
|
||||||
|
std::swap(vertex_list[0], vertex_list[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
static String print_float(double v)
|
static String print_float(double v)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue