cloudy-raytracer/beautifulScene.cpp
2023-01-27 13:49:07 +01:00

20 lines
No EOL
382 B
C++

#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;
}