Пример #1
0
        public Transform Combine_ExpensiveCalucations(Transform other)
        {
            // Do some expensive calculations to combine all of the local transforms along its parent
            // This will get the world transform of this object

            Console.WriteLine("Doing heavy matrix calculations with {0}", this.Name);

            return this;
        }
Пример #2
0
 public static void RenderMesh(Mesh mesh, Transform transform)
 {
     // renders the mesh ...
 }