Skip to documentation
SLOP

tiny.geometry.SweepHit

Reference 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.

No direct callersNo direct callstiny.geometrySweepHit
Static calls · unresolved targets: unknown · external targets: unknown.

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

Definitions1
Public names1
Members4
Version26.7.0
Revisiondaab053ee433