Skip to main content

classify_screen_metric

Function classify_screen_metric 

pub fn classify_screen_metric(
    sphere_center_world: [f32; 3],
    sphere_radius_world: f32,
    camera_pos_world: [f32; 3],
    camera_forward_world: [f32; 3],
    fov_y_rad: f32,
    screen_height_px: f32,
    camera_angular_speed_rad_s: f32,
    slip_coeff: f32,
) -> ScreenSpaceMetric
Expand description

Classify an entity or cluster into its optimal virtualization tier.

Operates in zero-heap with pure arithmetic.