updateViewportAndCameraProjection method

Future updateViewportAndCameraProjection(
  1. double width,
  2. double height
)

Implementation

Future updateViewportAndCameraProjection(double width, double height) async {
  await withVoidCallback((callback) {
    update_viewport_and_camera_projection_ffi(
        _viewer!, width.toInt(), height.toInt(), 1.0, callback);
  });
}