Update UnrealLoader.h

use memcpy instead of = operator for pos copy.
This commit is contained in:
Kim Kulling
2019-07-20 10:10:17 +02:00
committed by GitHub
parent f804036cf3
commit 103048ff85

View File

@@ -127,7 +127,8 @@ inline void CompressVertex(const aiVector3D& v, uint32_t& out)
n.X = (int32_t)v.x;
n.Y = (int32_t)v.y;
n.Z = (int32_t)v.z;
out = t;
::memcpy( &out, &t, sizeof(int32_t));
//out = t;
}
// UNREAL vertex decompression