panda3d / panda3d-docs

Sphinx documentation for Panda3D
https://docs.panda3d.org
47 stars 54 forks source link

Manual: Programming with Panda3D: Camera Control: Lenses and Field of View: setFilmSize(24,36) Typo Error? #141

Open asmsulaiman opened 11 months ago

asmsulaiman commented 11 months ago

Description

This is taken from the manual. The below function inputs should be swapped around as the width should be 36mm?

For instance, a 35mm camera exposes a rectangle on the film about 24mm x 36mm, so if you wanted to simulate a 35mm camera, you would use lens.setFilmSize(24,36).