Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ cross3
Function
cross3
perro_source/render_stack/perro_meshlets/src/lib.rs:693–695 ·
view source on GitHub ↗
(a: [f32; 3], b: [f32; 3])
Source
from the content-addressed store, hash-verified
691
match (current, candidate) {
692
(None, x) => x,
693
(x, None) => x,
694
(Some(a), Some(b)) => {
695
if b.cost < a.cost {
696
Some(b)
697
} else {
698
Some(a)
Callers
2
tri_plane
Function · 0.70
tri_normal
Function · 0.70
Calls
2
to_array
Method · 0.45
cross
Method · 0.45
Tested by
no test coverage detected