Ejemplo n.º 1
0
 public PlanesSteps(PlanesContext planesContext,
                    IntersectionsContext intersectionsContext,
                    VectorsContext vectorsContext,
                    RayContext rayContext)
 {
     _rayContext           = rayContext;
     _vectorsContext       = vectorsContext;
     _intersectionsContext = intersectionsContext;
     _planesContext        = planesContext;
 }
 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;
 }
Ejemplo n.º 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;
 }