コード例 #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;
        }
コード例 #2
0
ファイル: Mesh.cs プロジェクト: BogusCurry/opensim-1
        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;
        }