diff options
author | kitty piapiac <kcp@bsd.computer> | 2023-04-18 01:59:53 -0700 |
---|---|---|
committer | kitty piapiac <kcp@bsd.computer> | 2023-04-18 01:59:53 -0700 |
commit | 84bcb0274fc80d360ff0fbe5ede89643169f6165 (patch) | |
tree | a600a6a2211e8520f5275ea1704439a245cf28ce /include/graph.h | |
parent | 5393ce93d05f9979b7882c686b241f6738011c64 (diff) |
window projection
Diffstat (limited to 'include/graph.h')
-rw-r--r-- | include/graph.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/graph.h b/include/graph.h index 8e09bac..f04bfb5 100644 --- a/include/graph.h +++ b/include/graph.h @@ -1,13 +1,18 @@ #ifndef MINO_GRAPH_H #define MINO_GRAPH_H #define GRAPH_GLSL(...)"#version 330 core\n"#__VA_ARGS__ +X U32 graph_win_w,graph_win_h; + X V graph_init(V); X V graph_deinit(V); X V graph_events(V); X V graph_before(V); X V graph_after(V); -X V graph_quad(V); X U32 graph_ticks(V); + +X V graph_quad(vec2,vec2); +X V graph_quad_xywh(F32,F32,F32,F32); + X U32 graph_shader_create(IM C*,IM C*); X U32 graph_shader_tex; X V graph_shader_use(U32); |