How to make camera 3D alway contains two points with multi resolution

Hello,
I have a problem with camera 3D with multi-resolution. I want two points in the world space alway visible with different resolution of mobiles.
How to ensure two points include in camera3D’s view

Thank you!

Hi, you can refer to this demo to see if the object is in the camera’s field of view

Thank you @muxiandong , this project is very helpful.
For my problem, basically, I must calculate Fov to ensure two points included camera view.