Skip to main content

apparent_position

Function apparent_position 

Source
pub fn apparent_position(
    true_pos: Vec3,
    velocity: Vec3,
    observer: Vec3,
    c: f64,
    time: f64,
) -> Vec3
Expand description

Compute the apparent position of an object accounting for light travel time. The observer sees the object at its retarded position.