projects
/
bootcensus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
generalized pixel format handling in 3d pipeline
[bootcensus]
/
src
/
census
/
census.c
diff --git
a/src/census/census.c
b/src/census/census.c
index
7eea8d3
..
7c490db
100644
(file)
--- a/
src/census/census.c
+++ b/
src/census/census.c
@@
-8,7
+8,7
@@
#include "panic.h"
static void draw_disc(float x, float y, float rad, int sub);
#include "panic.h"
static void draw_disc(float x, float y, float rad, int sub);
-static void draw_line(float x0, float y0, float x1, float y1, float rad);
+static void draw_fatline(float x0, float y0, float x1, float y1, float rad);
static int nverts = 256;
static long start_time;
static int nverts = 256;
static long start_time;
@@
-60,7
+60,7
@@
void draw_census(void)
float t1 = (float)(i + 1) * dt;
eval_logo(a, t0);
eval_logo(b, t1);
float t1 = (float)(i + 1) * dt;
eval_logo(a, t0);
eval_logo(b, t1);
- draw_line(a[0], a[1], b[0], b[1], 0.02);
+ draw_fatline(a[0], a[1], b[0], b[1], 0.02);
}
if(anim > 0.0f) {
}
if(anim > 0.0f) {
@@
-98,7
+98,7
@@
static void draw_disc(float x, float y, float rad, int sub)
g3d_end();
}
g3d_end();
}
-static void draw_line(float x0, float y0, float x1, float y1, float rad)
+static void draw_fatline(float x0, float y0, float x1, float y1, float rad)
{
float dx, dy, rx, ry, len;
{
float dx, dy, rx, ry, len;