11 lines
344 B
C++
11 lines
344 B
C++
|
#include "camera/perspectivecamera.h"
|
||
|
|
||
|
PerspectiveCamera::PerspectiveCamera() : forwardDirection(0, 0, 1), upDirection(0, 1, 0), fovAngle(70) {}
|
||
|
|
||
|
Ray PerspectiveCamera::createRay(float x, float y) const {
|
||
|
// IMPLEMENT ME!
|
||
|
// Set up a left-handed coordinate system,
|
||
|
// in which the camera looks along the positive z-Axis
|
||
|
return Ray();
|
||
|
}
|