sky_body_screen_radius
Scalar sky_body_screen_radius(Scalar angular_radius_radians, Scalar projection_scale_y, Scalar viewport_height) noexceptParameters
| Name | Type | Description |
|---|---|---|
angular_radius_radians | Scalar | The body's apparent angular radius. |
projection_scale_y | Scalar | The projection matrix's |
viewport_height | Scalar | Rendered image height, pixels. |
Returns
Scalar
The disc's radius in pixels, never negative.
Description
The pixel radius a body of the given angular radius is drawn at.

