Exemplo n.º 1
0
        public Mesh()
        {
            vertexcomp vcomp = new vertexcomp();

            m_vertices   = new Dictionary <Vertex, int>(vcomp);
            m_triangles  = new List <Triangle>();
            _centroid    = Vector3.Zero;
            _centroidDiv = 0;
        }
Exemplo n.º 2
0
        public MeshBuildingData()
        {
            vertexcomp vcomp = new vertexcomp();

            m_vertices    = new Dictionary <Vertex, int>(vcomp);
            m_triangles   = new List <Triangle>();
            m_centroid    = Vector3.Zero;
            m_centroidDiv = 0;
            m_obbXmin     = float.MaxValue;
            m_obbXmax     = float.MinValue;
            m_obbYmin     = float.MaxValue;
            m_obbYmax     = float.MinValue;
            m_obbZmin     = float.MaxValue;
            m_obbZmax     = float.MinValue;
        }