public ShapeGroupsSteps(ShapeGroupsContext shapeGroupsContext,
                         ShapesContext shapesContext,
                         RayContext rayContext,
                         IntersectionsContext intersectionsContext,
                         SphereContext sphereContext)
 {
     _sphereContext        = sphereContext;
     _intersectionsContext = intersectionsContext;
     _rayContext           = rayContext;
     _shapesContext        = shapesContext;
     _shapeGroupsContext   = shapeGroupsContext;
 }
 public MaterialsSteps(MaterialsContext materialsContext,
                       LightsContext lightsContext,
                       ColorsContext colorContext,
                       ComputationsContext computationsContext,
                       SphereContext sphereContext)
 {
     _computationsContext = computationsContext;
     _sphereContext       = sphereContext;
     _colorsContext       = colorContext;
     _lightsContext       = lightsContext;
     _materialsContext    = materialsContext;
 }
 public SpheresSteps(SphereContext sphereContext,
                     RayContext rayContext,
                     IntersectionsContext intersectionsContext,
                     VectorsContext vectorsContext,
                     PointsContext pointsContext)
 {
     _pointsContext        = pointsContext;
     _vectorsContext       = vectorsContext;
     _intersectionsContext = intersectionsContext;
     _sphereContext        = sphereContext;
     _rayContext           = rayContext;
 }
 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;
 }
示例#5
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;
 }
示例#6
0
 public PatternsSteps(PatternsContext patternsContext, ColorsContext colorContext, SphereContext sphereContext)
 {
     _sphereContext   = sphereContext;
     _colorContext    = colorContext;
     _patternsContext = patternsContext;
 }