Exemplo n.º 1
0
        public static void GenerateTypeTree(TypeTreeContext context, string name)
        {
            AABBLayout layout = context.Layout.Serialized.AABB;

            context.AddNode(layout.Name, name);
            context.BeginChildren();
            Vector3fLayout.GenerateTypeTree(context, layout.CenterName);
            Vector3fLayout.GenerateTypeTree(context, layout.ExtentName);
            context.EndChildren();
        }
Exemplo n.º 2
0
        public static void GenerateTypeTree(TypeTreeContext context, string name)
        {
            Vector3fLayout layout = context.Layout.Serialized.Vector3f;

            context.AddNode(layout.Name, name);
            context.BeginChildren();
            context.AddSingle(layout.XName);
            context.AddSingle(layout.YName);
            context.AddSingle(layout.ZName);
            context.EndChildren();
        }