GetWorldToScreen method
Get the screen space position for a 3d world space position
Implementation
@override
Vector2D GetWorldToScreen(
Vector3D position,
Camera3DD camera,
) => $.Vector2$.Extract1(
(p) => _ffi.GetWorldToScreen(
$.Vector3$.Ref1(position).asNativePointer<Vector3C>().ref,
$.Camera3D$.Ref1(camera).asNativePointer<Camera3DC>().ref,
).toDart(p.asNativePointer()),
);