public class CylinderToEquirectangular_F32 extends EquirectangularDistortBase_F32
r = atan(vfov/2) // implicit cylinder radius of 1 theta = 2*PI*pixelX/width - PI x = cos(theta) y = sin(theta) z = 2*r*pixelY/(height - 1) - r
| Constructor and Description |
|---|
CylinderToEquirectangular_F32() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(int width,
int height,
float vfov)
Configures the rendered cylinder
|
compute, declareVectors, getRotation, getTools, setDirection, setDirection, setEquirectangularShape