Exemple #1
0
        static void CalculateMatrices(ITransformable item)
        {
            item.Transform.CalculateMatrix();

            foreach (var child in item.GetChildren(i => (!i.Transform.Static || !i.Transform.calculated)))
            {
                CalculateMatrices(child);
            }
        }