INNER CODE UNIT · C#
ret
Blotch3D/Blotch3D · src/BlGeometry.cs:87
ret = ray.Position + ray.Direction * distance.Value;
}
return ret;
}
/// <summary>
/// The delegate passed to certain geometry methods. Given an X and Y value, return a Z value.
/// </summary>
/// <param name="x">The x of the surface position</param>
/// <param name="y">The y of the surface position</param>
/// <returns>The height or diameter multiplier of the surface at the corresponding XY position</returns>
public delegate double XYToZDelegate(int x, int y);
/// <summary>
/// The delegate passed to certain geometry methods. Given an X and Y value, return a Vector3.
/// [Not yet used]
/// </summary>
/// <param name="x">The x of the surface position</param>