diff options
author | eug-vs <eugene@eug-vs.xyz> | 2021-10-28 13:10:28 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2021-10-28 13:25:33 +0300 |
commit | ff8e486274d789e9c50b367e5eccf174b85a370d (patch) | |
tree | ae94421a567553fe71ac07f3f64c24535980c76e /src/main.rs | |
parent | af515879c9b48a34ca4e953c9eb4bdff9e95fbd2 (diff) | |
download | pistol-ff8e486274d789e9c50b367e5eccf174b85a370d.tar.gz |
feat: add sdf_gear()
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
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(), |