20#ifndef YOURGAME_GLDRAWING_H
21#define YOURGAME_GLDRAWING_H
40 std::vector<yourgame::gl::Texture *>
textures = {};
41 std::array<float, 4>
subtex = {0.0f, 1.0f, 0.0f, 1.0f};
57 std::array<float, 3> tint,
std::array< float, 4 > drawSprite(yourgame::gl::Texture *texture, const yourgame::gl::TextureCoords &coords, float x, float y, float width, float height, float angle)
Definition drawing.cpp:93
void drawGeo(const yourgame::gl::Geometry *geo, const yourgame::gl::DrawConfig &cfg)
Definition drawing.cpp:28
void drawSky(yourgame::gl::Texture *texture, yourgame::math::Camera *camera, std::array< float, 3 > tint, yourgame::math::Trafo *trafo)
Definition drawing.cpp:168
std::array< float, 4 > subtex
Definition drawing.h:41
yourgame::math::Camera * camera
Definition drawing.h:38
GLsizei instancecount
Definition drawing.h:42
std::vector< yourgame::gl::Texture * > textures
Definition drawing.h:40
glm::mat4 modelMat
Definition drawing.h:39
yourgame::gl::Shader * shader
Definition drawing.h:37