X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Ftrail.h;fp=shaders%2Ftrail.h;h=0000000000000000000000000000000000000000;hb=bececcbb7b2e886e72425e7c070e1fdc3aa126dc;hp=b9ab766b179cbef9b9a78dd511a21b52948b5bf5;hpb=93790b71d3a89724255dc73239e38c08ad4bbac7;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/trail.h b/shaders/trail.h deleted file mode 100644 index b9ab766..0000000 --- a/shaders/trail.h +++ /dev/null @@ -1,23 +0,0 @@ -#pragma once -#include "vg/vg_engine.h" -extern struct vg_shader _shader_trail; -extern GLuint _uniform_trail_uPv; -extern GLuint _uniform_trail_uPvPrev; -extern GLuint _uniform_trail_uColour; -static inline void shader_trail_uPv(m4x4f m) -{ - glUniformMatrix4fv(_uniform_trail_uPv,1,GL_FALSE,(f32*)m); -} -static inline void shader_trail_uPvPrev(m4x4f m) -{ - glUniformMatrix4fv(_uniform_trail_uPvPrev,1,GL_FALSE,(f32*)m); -} -static inline void shader_trail_uColour(v4f v) -{ - glUniform4fv(_uniform_trail_uColour,1,v); -} -static inline void shader_trail_use(void); -static inline void shader_trail_use(void) -{ - glUseProgram(_shader_trail.id); -}