diff options
Diffstat (limited to 'Smoke/renderer_gl.c')
-rw-r--r-- | Smoke/renderer_gl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Smoke/renderer_gl.c b/Smoke/renderer_gl.c index 96c99af..cd2e5c8 100644 --- a/Smoke/renderer_gl.c +++ b/Smoke/renderer_gl.c @@ -737,13 +737,14 @@ static void render_streamlines(void) i = j = k = l = 0; DIM = fluids_get_dim(); +#if 0 for (i = 0; i < get_cur_seedpoint(); i++) { p = get_seedpoint(i); glBegin(GL_LINE_STRIP); - frame_history = streamlines_get_history_scalars(); + frame_history = streamlines_get_history_scalars(i); for (j = 0; j < HISTORY_SIZE; j++) { @@ -762,6 +763,7 @@ static void render_streamlines(void) } glEnd(); } +#endif } static void render_flowvis(void) @@ -977,7 +979,6 @@ void visualize(struct vis_data_arrays *vis_data) render_normals(); } - render_streamlines(); //create an orthographic projection matrix for rendering the legendbar glMatrixMode(GL_PROJECTION); glPushMatrix(); |