mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-15 01:43:25 +00:00
Disable mirroring on axis and flip faces
This commit is contained in:
parent
3640d875f6
commit
e9cab14ae6
1 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
@ -140,7 +140,12 @@ void vertex::load(const buffer &b, uint32_t flags)
|
|||
|
||||
void face::load(const buffer &b)
|
||||
{
|
||||
READ(b, vertex_list);
|
||||
uint16_t lvertex_list[3];
|
||||
READ(b, lvertex_list);
|
||||
|
||||
vertex_list[2] = lvertex_list[0];
|
||||
vertex_list[1] = lvertex_list[1];
|
||||
vertex_list[0] = lvertex_list[2];
|
||||
}
|
||||
|
||||
static String print_float(double v)
|
||||
|
|
|
|||
Loading…
Reference in a new issue