示例#1
0
 public static V3d UniformV3dFullClosed(this IRandomUniform rnd, Box3d box)
 {
     return(box.Lerp(rnd.UniformDoubleFullClosed(),
                     rnd.UniformDoubleFullClosed(),
                     rnd.UniformDoubleFullClosed()));
 }
示例#2
0
 public static V3d UniformV3dOpen(this IRandomUniform rnd, Box3d box)
 {
     return(box.Lerp(rnd.UniformDoubleOpen(),
                     rnd.UniformDoubleOpen(),
                     rnd.UniformDoubleOpen()));
 }