YourGameLib
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
drawing.h File Reference
#include <array>
#include <vector>
#include "yourgame/math/camera.h"
#include "yourgame/math/trafo.h"
#include "yourgame/gl/geometry.h"
#include "yourgame/gl/shader.h"
#include "yourgame/gl/texture.h"
Include dependency graph for drawing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yourgame::gl::DrawConfig
 

Namespaces

namespace  yourgame
 
namespace  yourgame::gl
 gl classes and functions
 

Functions

void yourgame::gl::drawGeo (const yourgame::gl::Geometry *geo, const yourgame::gl::DrawConfig &cfg)
 
std::array< float, 4 > yourgame::gl::drawSprite (yourgame::gl::Texture *texture, const yourgame::gl::TextureCoords &coords, float x, float y, float width, float height, float angle)
 
void yourgame::gl::drawSky (yourgame::gl::Texture *texture, yourgame::math::Camera *camera, std::array< float, 3 > tint, yourgame::math::Trafo *trafo)