fn point_to_ether_dream_point(p: RawPoint) -> ether_dream::protocol::DacPoint {
    let [x, y] = position_to_ether_dream_position(p.position);
    let [r, g, b] = color_to_ether_dream_color(p.color);
    let (control, i, u1, u2) = (0, 0, 0, 0);
    ether_dream::protocol::DacPoint { control, x, y, r, g, b, i, u1, u2 }
}
// Convert the laser point to an ether dream DAC point.
Convert the laser point to an ether dream DAC point.
Convert the laser point to an ether dream DAC point .
fn point_to_ether_dream_point(p: RawPoint) -> ether_dream::protocol::DacPoint {
    let [x, y] = position_to_ether_dream_position(p.position);
    let [r, g, b] = color_to_ether_dream_color(p.color);
    let (control, i, u1, u2) = (0, 0, 0, 0);
    ether_dream::protocol::DacPoint { control, x, y, r, g, b, i, u1, u2 }
}
fn point_to_ether_dream_point ( p : RawPoint ) -> ether_dream :: protocol :: DacPoint { let [ x , y ] = position_to_ether_dream_position ( p . position ) ; let [ r , g , b ] = color_to_ether_dream_color ( p . color ) ; let ( control , i , u1 , u2 ) = ( 0 , 0 , 0 , 0 ) ; ether_dream :: protocol :: DacPoint { control , x , y , r , g , b , i , u1 , u2 } }
Convert the laser point to an ether dream DAC point.
Convert the laser point to an ether dream DAC point .
p
RawPoint
p
RawPoint