GLTFCamera.h
Last update: 17.04.2023Cameras define an orthographic or perspective projection of the scene.
Definition: GLTFCamera.h:28
static Camera * CreateOrthographic(GLTF *gltf, const char *name=0, float xmag=1, float ymag=1, float zfar=1000, float znear=-1000)
static Camera * CreatePerspective(GLTF *gltf, const char *name=0, float yfov=22.619864948, float aspectRatio=1, float zfar=100000, float znear=0.1)