YourGameLib
Loading...
Searching...
No Matches
Namespaces | Functions
drawing.cpp File Reference
#include "yourgame_internal/util/assets.h"
#include "yourgame/gl/conventions.h"
#include "yourgame/gl/drawing.h"
Include dependency graph for drawing.cpp:

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)