tiny.hypothesis.gen_unit_vec3
Defined in value.
Source
Source: lib/hypothesis/src/value.zig:339
zig
pub fn gen_unit_vec3() Generator([3]f32) { return comptime gen_point(-1.0, 1.0) .filter(&is_nonzero_vec3) .map([3]f32, &normalize_vec3);}Source: lib/hypothesis/src/root.zig:80
zig
pub const gen_unit_vec3 = value.gen_unit_vec3;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |