extern fn frame_render_callback(
    data: *mut std::os::raw::c_void,
    frame: *mut nannou_laser::ffi::Frame,
) {
    unsafe {
        let data_ptr = data as *mut CallbackData;
        let data = &mut *data_ptr;
        let frame = &mut *frame;
        write_laser_frame_points(data, frame);
    }
}
// Called when the stream is ready for a new frame of data.
Called when the stream is ready for a new frame of data.
Called when the stream is ready for a new frame of data .
extern fn frame_render_callback(
    data: *mut std::os::raw::c_void,
    frame: *mut nannou_laser::ffi::Frame,
) {
    unsafe {
        let data_ptr = data as *mut CallbackData;
        let data = &mut *data_ptr;
        let frame = &mut *frame;
        write_laser_frame_points(data, frame);
    }
}
extern fn frame_render_callback ( data : * mut std :: os :: raw :: c_void , frame : * mut nannou_laser :: ffi :: Frame , ) { unsafe { let data_ptr = data as * mut CallbackData ; let data = & mut * data_ptr ; let frame = & mut * frame ; write_laser_frame_points ( data , frame ) ; } }
Called when the stream is ready for a new frame of data.
Called when the stream is ready for a new frame of data .
data
*mut std::os::raw::c_void
frame
*mut nannou_laser::ffi::Frame
data
*mut std::os::raw::c_void
frame
*mut nannou_laser::ffi::Frame