-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: hackvr
action: commit
revision:
path_from:
revision_from: 9372595d5bb91c0c2ecadaf796433b5b3f1b9c66:
path_to:
revision_to:

git.thebackupbox.net

hackvr

git://git.thebackupbox.net/hackvr

commit 9372595d5bb91c0c2ecadaf796433b5b3f1b9c66
Author: epoch <epoch@hacking.allowed.org>
Date:   Mon Jan 27 17:57:57 2020 -0600

    trimmed some trailing whitespace. AMAZING COMMIT RIGHT HERE

diff --git a/src/graphics_c3.c b/src/graphics_c3.c

index 38918abf9e8715d3aea51c1751af1183de1d1e2c..

index ..e85b9def09e24219abfc26d81069e5fc6bbd325d 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.

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 14:31:57 2024