tiny.geometry.SweepHit
Defined in tiny.geometry.
A sweep's first contact with a mesh triangle, as sweep.Hit reports it, with the triangle index in the mesh.
API (4)
Fields and members
Public fields and members.
Source
Source: lib/geometry/src/mesh.zig:154
zig
/// A sweep's first contact with a mesh triangle, as `sweep.Hit` reports it,/// with the triangle index in the mesh.pub const SweepHit = struct { t: f32, point: Vec3, normal: Vec3, triangle: u32,};Source: lib/geometry/src/root.zig:24
zig
pub const SweepHit = mesh.SweepHit;Audit
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 4 |
| Version | 26.7.0 |
| Revision | daab053ee433 |