1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! Internal `[f64; 3]` vector helpers for the Lambert kernel.
//!
//! The crate's public surface uses plain `[f64; 3]` arrays so the core has
//! zero hard math-library dependencies. `nalgebra::Vector3<f64>` and
//! `glam::DVec3` already convert to/from `[f64; 3]` natively for callers
//! who want them.
// `num_traits::Float` provides `sqrt`/`sin`/`cos`/etc. on `f64` in `no_std`
// builds (via `libm`). In `std` builds the inherent methods take precedence
// and the trait import is dead but harmless — same pattern in every kernel
// module that touches transcendental math.
use Float as _;
pub type Vec3 = ;
pub
pub
pub
pub