Jump to content

[SOLVED] Horizontal FOV


photo

Recommended Posts

Posted

Hi

How can I get or calculate horizontal FOV?

In other words

How can I get or calculate horizontal angle that I can see in screen?

 

thanks.

Posted

 

float aspect = float(engine.app.getWidth()) / engine.app.getHeight();
float hfov = vfov * aspect;
×
×
  • Create New...