-
Notifications
You must be signed in to change notification settings - Fork 0
/
Renderer.h
46 lines (35 loc) · 1.15 KB
/
Renderer.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef RENDERER_H
#define RENDERER_H
#include "camera.h"
#include "shaders.h"
#include "defineList.h"
#include "Player.h"
#include "Floor.h"
#include "GameLogic.h"
#include "Shadow.h"
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <glm.hpp>
#include <matrix_transform.hpp>
#include "stb_image.h"
#include "SkyBox.h"
void ShaderInit();
bool getTextureID(unsigned int& ID, char* s);
bool getTextureID_a(unsigned int& ID, const char* s);
void renderSkybox();
void renderFloor();
void renderBullet(Bullet* bullet, float time);
void renderPlayer(Player* player, float time);
void renderParticle(Particle* particle, float time);
//void renderShadowDepth(vector<Player*> playerList, vector<Bullet*> bulletList);
//void renderShadowDepth(vector<Player*> playerList, vector<Bullet*> bulletList);
//void renderBullet(Bullet* bullet, float time);
void renderShadowDepth(vector<Player*> playerList, vector<Bullet*> bulletList);
void renderWater();
void WaterRenderInit();
void floorRender();
void wallRender();
void renderScene(Shader wallShader, float clipPlane[4]);
//void renderWater();
//void renderWall();
#endif