TerrainDisplay.MPQ.WMO.WMORootParser.FixVector3 C# (CSharp) Méthode

FixVector3() static private méthode

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
Résultat void
        static void FixVector3(ref Vector3 source)
        {
            var y = source.Y;
            source.Y = source.Z;
            source.Z = -y;
        }