Example #1
0
        public CSphere()
        {
            Random random = new Random();

            m_color = RandomColor.nextColor();
            _setSplitCount();
        }
Example #2
0
        public CBox()
        {
            m_color = RandomColor.nextColor();

            m_pointVectors[0] = new Vector3(0, 0, 0);
            m_pointVectors[1] = new Vector3(0, 0, 0);
            m_pointVectors[2] = new Vector3(0, 0, 0);
            m_pointVectors[3] = new Vector3(0, 0, 0);
            m_pointVectors[4] = new Vector3(0, 0, 0);
            m_pointVectors[5] = new Vector3(0, 0, 0);
            m_pointVectors[6] = new Vector3(0, 0, 0);
            m_pointVectors[7] = new Vector3(0, 0, 0);
        }