cloudy-raytracer/beautifulScene.cpp

20 lines
382 B
C++
Raw Normal View History

2023-01-27 13:49:07 +01:00
#include <scene/simplescene.h>
#include <camera/perspectivecamera.h>
int main()
{
SimpleScene scene;
// Set up the camera
PerspectiveCamera camera;
camera.setFovAngle(90.0f);
camera.setPosition(Vector3d(0.0f, 0.0f, -10.0f));
camera.setForwardDirection(Vector3d(0.0f, 0.0f, 1.0f));
camera.setUpDirection(Vector3d(0.0f, 1.0f, 0.0f));
return 0;
}