engineer-thesis-WUT/Engine/engine/draw.hpp

12 lines
535 B
C++

#ifndef DRAW_HPP
#define DRAW_HPP
#include <glad/glad.h>
#include <GLFW/glfw3.h>
int drawFigure(const bool whatToDraw);
int drawSquare();
void doDrawElements(const unsigned int shaderProgram, const unsigned int vertexArrayObject, const GLenum drawArrayMode, const GLenum drawType, const int numberOfElementsToDraw);
int drawTriangle();
void doDrawArrays(const unsigned int shaderProgram, const unsigned int vertexArrayObject, const GLenum drawArrayMode, const int firstIndex, const unsigned int numberOfIndicesToBeRendered );
#endif