Example #1
0
 public Interaction(Point3D p, double time, MediumInterface mediumInterface)
 {
     P               = p;
     Time            = time;
     MediumInterface = mediumInterface;
     Wo              = new Vector3D();
     PError          = new Vector3D();
     N               = new Normal3D();
 }
Example #2
0
 public Interaction(
     Point3D p,
     Normal3D n,
     Vector3D pError,
     Vector3D wo,
     double time,
     MediumInterface mediumInterface)
 {
     P               = p;
     N               = n;
     PError          = pError;
     Wo              = wo;
     Time            = time;
     MediumInterface = mediumInterface;
 }