Exemple #1
0
 private void AddObjectToScene()
 {
     _scene.AddObject(
         PolyhedronBuilder.CreatePolyhedron(
             _currenPolyhedronType,
             new HomogeneousPoint3D(0, 0, 0, 1),
             new HomogeneousPoint3D(0, 0, 0, 1),
             A));
 }
Exemple #2
0
        private void InitializeMultipleObjectsScene()
        {
            IPolyhedron3D polyhedron = PolyhedronBuilder.CreatePolyhedron(
                _currenPolyhedronType,
                new HomogeneousPoint3D(0, 0, 0, 1),
                new HomogeneousPoint3D(0, 0, 0, 1),
                A);

            _scene = new MultipleObjectsScene(new HomogeneousPoint3D(0, 0, -600, 1), polyhedron, 400);
        }