forked from mattbierbaum/moshpits
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplot.h
More file actions
30 lines (23 loc) · 622 Bytes
/
plot.h
File metadata and controls
30 lines (23 loc) · 622 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef __PLOT_H__
#define __PLOT_H__
#include <GL/freeglut.h>
#ifdef OPENIL
#include <IL/il.h>
#include <IL/ilu.h>
#include <IL/ilut.h>
#endif
void plot_init();
void plot_clean();
int *plot_render_particles(double *x, double *r, int *c,
long N, double L, double *shade, int forces,
double cx, double cy, int go, int *pbc, double *v, int doarrows);
int plot_clear_screen();
int plot_exit_func();
void plot_init_opengl();
void plot_end_opengl();
void plot_set_draw_color(float r, float g, float b, float a);
#ifdef OPENIL
void plot_saveimage(const char* name);
void plot_initialize_canvas();
#endif
#endif