aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2021-10-28 13:10:28 +0300
committereug-vs <eugene@eug-vs.xyz>2021-10-28 13:25:33 +0300
commitff8e486274d789e9c50b367e5eccf174b85a370d (patch)
treeae94421a567553fe71ac07f3f64c24535980c76e /src/main.rs
parentaf515879c9b48a34ca4e953c9eb4bdff9e95fbd2 (diff)
downloadpistol-ff8e486274d789e9c50b367e5eccf174b85a370d.tar.gz
feat: add sdf_gear()
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index b288918..2574746 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -10,7 +10,7 @@ use crate::camera::{Buffer, Camera, WIDTH, HEIGHT};
fn main() {
let mut cam = Camera {
- position: Vector3::zero(),
+ position: Vector3::new(-5.0, 0.0, 2.0),
direction: Vector3::unit_x(),
up: Vector3::unit_z(),
light: Vector3 { x: 1.0, y: 1.0, z: -1.0 }.normalize(),