projects
/
mandelwow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a sea shaded cubes, just because. No big deal (yet).
[mandelwow.git]
/
support
/
camera.rs
diff --git
a/support/camera.rs
b/support/camera.rs
index fe1398d874ee3842a0006ee668ddde8f2002c780..809ffcb93991bcb464a28966ac53f862ffe27de8 100644
(file)
--- a/
support/camera.rs
+++ b/
support/camera.rs
@@
-37,7
+37,7
@@
pub struct CameraState {
impl CameraState {
pub fn new() -> CameraState {
CameraState {
impl CameraState {
pub fn new() -> CameraState {
CameraState {
- aspect_ratio:
1024.0 / 768
.0,
+ aspect_ratio:
600.0 / 600
.0,
pos: Vec3(0.0, 0.0, 0.0),
dir: Vec3(0.0, 0.0, -1.0),
.. Default::default()
pos: Vec3(0.0, 0.0, 0.0),
dir: Vec3(0.0, 0.0, -1.0),
.. Default::default()