示例#1
0
        Square pointer; //ポインタ

        #endregion Fields

        #region Constructors

        //コンストラクタ
        public Object3D()
        {
            cube = new List<Cube>();
            objects = new List<int[]>();
            grid3D = new Grid3D();
            brush = new SolidBrush(Color.Red);
        }
示例#2
0
        public Drawing3DViewForm()
        {
            InitializeComponent();
            camera = new Camera();
            grid3D = new Grid3D();
            grid2D = new Grid2D();
            objects = new Object3D();
            isClicked_pb1 = false;
            isClicked_pb2 = false;
            isAdd = true;
            isDelete = false;

            camera.SetLookatPoint(0.0f, 0.0f, 0.0f);
            camera.SetAspect(this.pictureBox1.Width, this.pictureBox1.Height);
        }