TerrainDisplay.MPQ.WMO.WMORootParser.FixVector3 C# (CSharp) Method

FixVector3() static private method

Translates a Vector3 read by the ReadVector3 extension method into a vector in the coordinate space used by WoW (X, Y, Z) -> (X, Z, -Y)
static private FixVector3 ( System.Vector3 &source ) : void
source System.Vector3
return void
        static void FixVector3(ref Vector3 source)
        {
            var y = source.Y;
            source.Y = source.Z;
            source.Z = -y;
        }