Skip to documentation
SLOP

tiny.geometry.RayHit

Reference tiny.geometry RayHit

Defined in tiny.geometry.

A ray meeting a mesh triangle: the ray parameter, the barycentric weights of vertices b and c, and the triangle index in the mesh.

API (4)

Fields and members

Public fields and members.

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

Source

Source: lib/geometry/src/mesh.zig:145

zig
/// A ray meeting a mesh triangle: the ray parameter, the barycentric weights/// of vertices `b` and `c`, and the triangle index in the mesh.pub const RayHit = struct {    t: f32,    u: f32,    v: f32,    triangle: u32,};

Source: lib/geometry/src/root.zig:23

zig
pub const RayHit = mesh.RayHit;

Audit

Definitions1
Public names1
Members4
Version26.7.0
Revisiondaab053ee433