Examples of opposite()


Examples of booton.css.value.Numeric.opposite()

        before(() -> {
            display.block();
            box.size(0, px);
            content.text("");
            position.absolute().left(50, percent).top(100, percent);
            margin.left(width.opposite());
            border.solid().color(Transparent).width(width);
            border.top.color(borderColor);
        });

        // write bubble background color
View Full Code Here

Examples of booton.css.value.Numeric.opposite()

            after(() -> {
                display.block();
                box.size(0, px);
                content.text("");
                position.absolute().left(50, percent).top(100, percent);
                margin.left(width2.opposite());
                border.solid().color(Transparent).width(width2);
                border.top.color(boxBackColor.opacify(1));
            });
        }
    }
View Full Code Here

Examples of booton.css.value.Numeric.opposite()

        before(() -> {
            display.block();
            box.size(0, px);
            content.text("");
            position.absolute().left(50, percent).bottom(100, percent);
            margin.left(width.opposite());
            border.solid().color(Transparent).width(width);
            border.bottom.color(borderColor);
        });

        // write bubble background color
View Full Code Here

Examples of booton.css.value.Numeric.opposite()

            after(() -> {
                display.block();
                box.size(0, px);
                content.text("");
                position.absolute().left(50, percent).bottom(100, percent);
                margin.left(borderWitdh.opposite());
                border.solid().color(Transparent).width(borderWitdh);
                border.bottom.color(boxBackColor.opacify(1));
            });
        }
    }
View Full Code Here

Examples of ca.eandb.jmist.math.SphericalCoordinates.opposite()

    if (this.reflectance != null) {

      boolean fromFront = x.getNormal().dot(v) < 0.0;
      SphericalCoordinates out = RandomUtil.diffuse(ru, rv);
      if (!fromFront) {
        out = out.opposite();
      }

      Ray3 ray = new Ray3(x.getPosition(), out.toCartesian(x.getShadingBasis()));
      boolean toFront = ray.direction().dot(x.getNormal()) > 0.0;
View Full Code Here

Examples of ca.eandb.jmist.math.Vector3.opposite()

      return Math.max(b.getCosine(v), 0.0);
    } else {
      Point3 p = (Point3) a.getPosition();
      Point3 q = (Point3) b.getPosition();
      Vector3 v = p.vectorTo(q);
      return Math.max(a.getCosine(v), 0.0) * Math.max(b.getCosine(v.opposite()), 0.0)
          / v.squaredLength();
    }
  }

  public static boolean visibility(PathNode a, PathNode b) {
View Full Code Here

Examples of ca.eandb.jmist.math.Vector3.opposite()

    if (g <= 0.0) {
      return null;
    }

    Color etol = a.scatter(v);
    Color ltoe = b.scatter(v.opposite());
    Color c = etol.times(ltoe);

    if (ColorUtil.getTotalChannelValue(c) > 0.0
        && PathUtil.visibility(a, b)) {
View Full Code Here

Examples of ca.eandb.jmist.math.Vector3.opposite()

    Intersection  x = super.newIntersection(ray, t, ndotv < 0.0, surfaceId)
                .setLocation(p)
                .setUV(inversion)
                .setBasis((surfaceId == POLYGON_SURFACE_TOP) ? this.basis : this.basis.opposite())
                .setNormal((surfaceId == POLYGON_SURFACE_TOP) ? N : N.opposite());

    recorder.record(x);

  }
View Full Code Here

Examples of ca.eandb.jmist.math.Vector3.opposite()

              result.cast[sensor]++;
              sensor0[0] = sensor;
            }
          });
        } while (sensor0[0] < 0);
        in = incidentPointsOutward ? in.opposite() : in;

        double wavelength = info.channel.sample(rng);
        Vector3 v = info.specimen.scatter(SurfacePointGeometry.STANDARD, in, adjoint, wavelength, rng);

        if (v != null) {
View Full Code Here

Examples of ca.eandb.jmist.math.Vector3.opposite()

    boolean reflect = RandomUtil.bernoulli(reflectance, ref);
    Vector3 r = RandomUtil.diffuse(ref.seed, rv).toCartesian(x.getBasis());
    double pdf = 1.0 / Math.PI;

    if (!reflect) {
      r = r.opposite();
      pdf *= (1.0 - reflectance);
    } else {
      pdf *= reflectance;
    }

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.