forked from jlwangPoincare/RayTracingEngine
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
Latest commit
20 lines (18 loc) · 368 Bytes
/
Copy pathmain.cpp
File metadata and controls
20 lines (18 loc) · 368 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include<iostream>
#include"GzVector3.h"
#include"GzCamera.h"
voidprintVector(GzVector3 v)
{
std::cout << v.x << "" << v.y << "" << v.z << std::endl;
return;
}
intmain()
{
GzVector3 a;
GzVector3 b(0.0f, 1.0f, 0.0f);
//GzVector3 c;
//c = b;
GzCamera ca(a, GzVector3(0.0f, 0.0f, -1.0f), b, 120);
//printVector(c);
return0;
}