summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2020-01-27 17:57:57 -0600
committerepoch <epoch@hacking.allowed.org>2020-01-27 17:57:57 -0600
commit9372595d5bb91c0c2ecadaf796433b5b3f1b9c66 (patch)
treef9bb269542d7f48a4bcfa7ae709815c3f05f7296
parentf33d7bea0074fb62bc437a2b4ea0c86e15874a42 (diff)
downloadhackvr-9372595d5bb91c0c2ecadaf796433b5b3f1b9c66.tar.gz
hackvr-9372595d5bb91c0c2ecadaf796433b5b3f1b9c66.zip
trimmed some trailing whitespace. AMAZING COMMIT RIGHT HERE
-rw-r--r--src/graphics_c3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphics_c3.c b/src/graphics_c3.c
index 38918ab..e85b9de 100644
--- a/src/graphics_c3.c
+++ b/src/graphics_c3.c
@@ -452,7 +452,7 @@ void draw_screen() {
//XSetForeground(global.dpy,global.backgc,global.green.pixel);
// } else {
// }
- zs[i].s->attrib.lum=200-((int)(zs[i].d * 4.0l))%200;
+ zs[i].s->attrib.lum=200-((int)(zs[i].d * 4.0l))%200;
}
//if(between_angles(points_to_angle((c2_t){zs[i].s->p[0].x,zs[i].s->p[0].z},(c2_t){camera.p.x,camera.p.z}),d2r(camera.yr+45),d2r(camera.yr+135))) {
// set_color_based_on_distance(zs[i].d);
@@ -503,7 +503,7 @@ void redraw() {//something is requesting a redraw.
}
int graphics_init() {
-//some of these values set
+//some of these values set
global.zoom=25.0l;//I think if this is set to 1, then 1 3d unit is 1 2d unit?
global.camera.r.x.d=0;
global.camera.r.y.d=0;//we should be facing east.