mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
Added text shadow, block indicator outline
This commit is contained in:
parent
88c1695903
commit
81d246f3d0
5 changed files with 46 additions and 12 deletions
|
|
@ -4,6 +4,8 @@
|
|||
#include <stdlib.h>
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
using namespace glm;
|
||||
|
||||
class Mesh;
|
||||
class Texture;
|
||||
|
||||
|
|
@ -27,6 +29,7 @@ public:
|
|||
|
||||
void begin();
|
||||
void texture(Texture* texture);
|
||||
void sprite(float x, float y, float w, float h, int atlasRes, int index, vec4 tint);
|
||||
void rect(float x, float y, float w, float h);
|
||||
void rect(float x, float y, float w, float h,
|
||||
float u, float v, float tx, float ty,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue