From 84bcb0274fc80d360ff0fbe5ede89643169f6165 Mon Sep 17 00:00:00 2001 From: kitty piapiac Date: Tue, 18 Apr 2023 01:59:53 -0700 Subject: window projection --- include/graph.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/graph.h') 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); -- cgit v1.2.3