예제 #1
0
파일: Cube.cs 프로젝트: rd3k/Cubrick
        public Cube(Vector3 size, Vector3 position, GraphicsDevice device)
        {
            Size = size;
            Position = position;
            create(device);

            for (int i = 0; i < 6; i++)
                blockAreas[i] = new BlockArea(device);
        }
예제 #2
0
        public Cube(Vector3 size, Vector3 position, GraphicsDevice device)
        {
            Size     = size;
            Position = position;
            create(device);

            for (int i = 0; i < 6; i++)
            {
                blockAreas[i] = new BlockArea(device);
            }
        }