// Model definition for NSBMD.
// Code adapted from kiwi.ds' NSBMD Model Viewer.

using System.Collections.Generic;

namespace LibNDSFormats.NSBMD
{
	/// <summary>
	/// NSBMD model type.
	/// </summary>
    public class NSBMDModel
    {
        #region Fields (3) 
        /// <summary>
        /// NSBMD materials.
        /// </summary>
        public readonly List<NSBMDMaterial> Materials = new List<NSBMDMaterial>();
        /// <summary>
        /// NSBMD materials.
        /// </summary>
        public readonly List<NSBMDTexture> Textures = new List<NSBMDTexture>();
        /// <summary>
        /// NSBMD materials.
        /// </summary>
        public readonly List<NSBMDPalette> Palettes = new List<NSBMDPalette>();
        /// <summary>
        /// NSBMD objects.
        /// </summary>
        public readonly List<NSBMDObject> Objects = new List<NSBMDObject>();
        /// <summary>
        /// NSBMD polygons.
        /// </summary>
        public readonly List<NSBMDPolygon> Polygons = new List<NSBMDPolygon>();

        #endregion Fields 

        #region Properties (1) 

        /// <summary>
        /// Model name.
        /// </summary>
        public string Name { get; set; }
        public List<int> tex_mat = new List<int>();
        public List<int> pal_mat = new List<int>();
        public float boundXmin;
        public float boundYmin;
        public float boundZmin;
        public float boundXmax;
        public float boundYmax;
        public float boundZmax;
        public float boundScale;
        public float modelScale;
        public int laststackid;
        #endregion Properties 
    }
}