Package org.joml

Class Rayd

    • Field Detail

      • oX

        public double oX
        The x coordinate of the ray's origin.
      • oY

        public double oY
        The y coordinate of the ray's origin.
      • oZ

        public double oZ
        The z coordinate of the ray's origin.
      • dX

        public double dX
        The x coordinate of the ray's direction.
      • dY

        public double dY
        The y coordinate of the ray's direction.
      • dZ

        public double dZ
        The z coordinate of the ray's direction.
    • Constructor Detail

      • Rayd

        public Rayd​()
        Create a new Rayd with origin (0, 0, 0) and no direction.
      • Rayd

        public Rayd​(Rayd source)
        Create a new Rayd as a copy of the given source.
        Parameters:
        source - the Rayd to copy from
      • Rayd

        public Rayd​(Vector3dc origin,
                    Vector3dc direction)
        Create a new Rayd with the given origin and direction.
        Parameters:
        origin - the origin of the ray
        direction - the direction of the ray
      • Rayd

        public Rayd​(double oX,
                    double oY,
                    double oZ,
                    double dX,
                    double dY,
                    double dZ)
        Create a new Rayd with the given origin and direction.
        Parameters:
        oX - the x coordinate of the ray's origin
        oY - the y coordinate of the ray's origin
        oZ - the z coordinate of the ray's origin
        dX - the x coordinate of the ray's direction
        dY - the y coordinate of the ray's direction
        dZ - the z coordinate of the ray's direction