Fermat
Public Methods | Public Members | List of all members
Camera Struct Reference

Detailed description

A simple pinhole camera model

#include <camera.h>

Public Methods

FERMAT_HOST_DEVICE Camera rotate (const float2 rot) const
 
FERMAT_HOST_DEVICE Camera walk (const float delta) const
 
FERMAT_HOST_DEVICE Camera pan (const float2 delta) const
 
FERMAT_HOST_DEVICE Camera zoom (const float delta) const
 
FERMAT_HOST_DEVICE float square_pixel_focal_length (const uint32 res_x, const uint32 res_y) const
 
FERMAT_HOST_DEVICE float square_screen_focal_length () const
 

Public Members

float3 eye
 
float3 aim
 
float3 up
 
float3 dx
 
float fov
 

The documentation for this struct was generated from the following file: