refactor (reduction)
[carveJwlIkooP6JGAAIwe30JlM.git] / world_water.h
1 /*
2 * Copyright (C) 2021-2023 Mt.ZERO Software, Harry Godden - All Rights Reserved
3 */
4
5 #ifndef WATER_H
6 #define WATER_H
7
8 #include "world.h"
9
10 struct world_water{
11 GLuint tex_water_surf;
12 }
13 static world_water;
14 static void world_water_init(void);
15
16 static void water_set_surface( world_instance *world, float height );
17 static void render_water_texture( world_instance *world, camera *cam,
18 int layer_depth );
19 static void render_water_surface( world_instance *world, camera *cam );
20
21 #endif /* WATER_H */