public TransformationsSteps(TransformationsContext transformationContext,
                             PointsContext pointsContext,
                             VectorsContext vectorsContext)
 {
     _vectorsContext         = vectorsContext;
     _pointsContext          = pointsContext;
     _transformationsContext = transformationContext;
 }
Example #2
0
 public RaysSteps(
     RayContext rayContext,
     PointsContext pointsContext,
     VectorsContext vectorsContext,
     TransformationsContext transformationsContext)
 {
     _transformationsContext = transformationsContext;
     _vectorsContext         = vectorsContext;
     _pointsContext          = pointsContext;
     _rayContext             = rayContext;
 }
Example #3
0
 public ShapesSteps(ShapesContext shapesContext,
                    MaterialsContext materialsContext,
                    RayContext rayContext,
                    IntersectionsContext intersectionsContext,
                    VectorsContext vectorsContext,
                    TransformationsContext transformationsContext)
 {
     _transformationsContext = transformationsContext;
     _vectorsContext         = vectorsContext;
     _intersectionsContext   = intersectionsContext;
     _rayContext             = rayContext;
     _materialsContext       = materialsContext;
     _shapesContext          = shapesContext;
 }