COSC-3P98-Assigment-3/include/modes/high_perf.h

39 lines
618 B
C
Raw Normal View History

/*
* Created by Brett on 30/03/23.
* Licensed under GNU General Public License V3.0
* See LICENSE file for license detail
*/
2023-04-01 15:48:31 -04:00
#ifndef ASSIGN3_HIGH_PERF_H
#define ASSIGN3_HIGH_PERF_H
#include <glad/gl.h>
#include <camera.h>
#include <particle_system.h>
2023-04-01 15:48:31 -04:00
#ifdef EXTRAS
extern int WINDOW_WIDTH;
extern int WINDOW_HEIGHT;
2023-04-01 15:48:31 -04:00
extern particle_system* fountain;
extern camera cam;
2023-04-01 15:48:31 -04:00
extern const unsigned int particle_count;
void window_resize(int width, int height);
void updateView();
void render();
void init();
void cleanup();
2023-04-02 14:52:03 -04:00
void runPhysicsShader();
void beginExecution();
2023-04-01 15:48:31 -04:00
#endif
#endif //ASSIGN3_HIGH_PERF_H