Skip to documentation
SLOP

tiny.geometry.Sphere

Reference tiny.geometry Sphere

Defined in tiny.geometry.

API (3)

Actions

Public operations.

Fields and members

Public fields and members.

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

Source

Source: lib/geometry/src/primitive.zig:37

zig
pub const Sphere = struct {    center: Vec3,    radius: f32,    pub fn bounds(sphere: Sphere) Aabb {        assert(sphere.radius >= 0);        return Aabb.fromPoint(sphere.center).inflate(sphere.radius);    }};

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

zig
pub const Sphere = primitive.Sphere;
Called byCallsNo direct callersAabbfromPointSpherebounds
Static calls · unresolved targets: 0 · external targets: 0.

Audit

Definitions2
Public names2
Members2
Version26.7.0
Revisiondaab053ee433