Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 188069
Collapse All | Expand All

(-)src/sliboengine/main.c.orig (+1 lines)
Lines 22-27 Link Here
22
22
23
#include <stdio.h>
23
#include <stdio.h>
24
#include <stdlib.h>
24
#include <stdlib.h>
25
#include <string.h>
25
#include <signal.h>
26
#include <signal.h>
26
#include <unistd.h>
27
#include <unistd.h>
27
#include <getopt.h>
28
#include <getopt.h>
(-)./src/glview.cpp.orig (-2 / +2 lines)
Lines 288-295 Link Here
288
	q = q + CoorFloat((p2x*vy - p2y*vx), (ux*p2y - uy*p2x)) * (1.0/det);
288
	q = q + CoorFloat((p2x*vy - p2y*vx), (ux*p2y - uy*p2x)) * (1.0/det);
289
//        q.x += (p2x*vy - p2y*vx) / det;
289
//        q.x += (p2x*vy - p2y*vx) / det;
290
//        q.y += (ux*p2y - uy*p2x) / det;
290
//        q.y += (ux*p2y - uy*p2x) / det;
291
        q.x = 0.0 >? q.x <? 7.0;
291
        q.x = std::min(std::max(0.0, (double)q.x), 7.0);
292
        q.y = 0.0 >? q.y <? 7.0;
292
        q.y = std::min(std::max(0.0, (double)q.y), 7.0);
293
        lastq = q;
293
        lastq = q;
294
        d *= 0.5;
294
        d *= 0.5;
295
    }
295
    }

Return to bug 188069