update model format
[carveJwlIkooP6JGAAIwe30JlM.git] / render.h
index aa738425422d0365720b881ee6272ab7e01805a2..f77f10625ef1ee8b71bae081bc310e82b3863346 100644 (file)
--- 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
  */