public MaterialsSteps(MaterialsContext materialsContext,
                       LightsContext lightsContext,
                       ColorsContext colorContext,
                       ComputationsContext computationsContext,
                       SphereContext sphereContext)
 {
     _computationsContext = computationsContext;
     _sphereContext       = sphereContext;
     _colorsContext       = colorContext;
     _lightsContext       = lightsContext;
     _materialsContext    = materialsContext;
 }
 public IntersectionsSteps(IntersectionsContext intersectionsContext,
                           SphereContext sphereContext,
                           WorldContext worldContext,
                           RayContext rayContext,
                           PlanesContext planesContext,
                           ComputationsContext computationsContext)
 {
     _computationsContext  = computationsContext;
     _planesContext        = planesContext;
     _rayContext           = rayContext;
     _worldContext         = worldContext;
     _intersectionsContext = intersectionsContext;
     _sphereContext        = sphereContext;
 }
Пример #3
0
 public WorldSteps(WorldContext worldContext,
                   SphereContext sphereContext,
                   RayContext rayContext,
                   ColorsContext colorContext,
                   PointsContext pointsContext,
                   LightsContext lightsContext,
                   PlanesContext planesContext,
                   ComputationsContext computationsContext)
 {
     _computationsContext = computationsContext;
     _planesContext       = planesContext;
     _lightsContext       = lightsContext;
     _pointsContext       = pointsContext;
     _colorContext        = colorContext;
     _rayContext          = rayContext;
     _sphereContext       = sphereContext;
     _worldContext        = worldContext;
 }
Пример #4
0
 public ComputationsSteps(ComputationsContext computationsContext, PointsContext pointsContext)
 {
     _computationsContext = computationsContext;
     _pointsContext       = pointsContext;
 }