X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=render.h;h=f77f10625ef1ee8b71bae081bc310e82b3863346;hb=d045af680c6b8ca267a7aded69e2e510e659d2ab;hp=aa738425422d0365720b881ee6272ab7e01805a2;hpb=168eb5c363f510d60703498e01ffcdb52bf9fd07;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/render.h b/render.h index aa73842..f77f106 100644 --- a/render.h +++ b/render.h @@ -1,9 +1,15 @@ -#ifndef RENDER_H -#define RENDER_H - #include "common.h" #include "model.h" +static void render_water_texture( m4x3f camera ); +static void render_water_surface( m4x4f pv, m4x3f camera ); +static void render_world( m4x4f projection, m4x3f camera ); +static void shader_link_standard_ub( GLuint shader, int texture_id ); +static void render_world_depth( m4x4f projection, m4x3f camera ); + +#ifndef RENDER_H +#define RENDER_H + static struct pipeline { float fov; @@ -72,11 +78,6 @@ gpipeline = } }; -static void render_water_texture( m4x3f camera ); -static void render_water_surface( m4x4f pv, m4x3f camera ); -static void render_world( m4x4f projection, m4x3f camera ); -static void render_world_depth( m4x4f projection, m4x3f camera ); - /* * Matrix Projections */