X-Git-Url: http://git.localhorst.tv/?p=space.git;a=blobdiff_plain;f=src%2Fgraphics%2Fprimitive.h;fp=src%2Fgraphics%2Fprimitive.h;h=0000000000000000000000000000000000000000;hp=6dcc6fe6b21f9d8cfb6b21bc24d4ffe648a04ddc;hb=61c2d30a60d586cbe63885885c6a373c7713af1e;hpb=08d0e47634e1632c96ebe3308535a86f5e625b40 diff --git a/src/graphics/primitive.h b/src/graphics/primitive.h deleted file mode 100644 index 6dcc6fe..0000000 --- a/src/graphics/primitive.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef SPACE_PRIMITIVE_H_ -#define SPACE_PRIMITIVE_H_ - -#include "Color.h" -#include "../math/Vector.h" - -#include - - -namespace space { - -void Fill(SDL_Surface *, Color); -void Fill(SDL_Surface *, Uint32 color); - -void HLine(SDL_Surface *, Vector pos, int len, Color); -void HLine(SDL_Surface *, Vector pos, int len, Uint32 color); -void VLine(SDL_Surface *, Vector pos, int len, Color); -void VLine(SDL_Surface *, Vector pos, int len, Uint32 color); - -void FillRect(SDL_Surface *, Vector pos, Vector size, Color); -void FillRect(SDL_Surface *, Vector pos, Vector size, Uint32 color); -void OutlineRect(SDL_Surface *, Vector pos, Vector size, Color); -void OutlineRect(SDL_Surface *, Vector pos, Vector size, Uint32 color); - -void Cross( - SDL_Surface *, - Vector pos, - int extent, - Color); - -void Grid( - SDL_Surface *, - Vector from, - Vector to, - Vector size, - Color); -void Grid( - SDL_Surface *, - Vector from, - Vector to, - Vector size, - Color); - -void Grid2( - SDL_Surface *, - Vector from, - Vector to, - Vector size, - Vector n, - Color, - Color); -void Grid2( - SDL_Surface *, - Vector from, - Vector to, - Vector size, - Vector n, - Color, - Color); - -} - -#endif