Commit 5b420e76 by William Bundy

Stuff that I've worked on

parent 39faa13e
@echo off
SET msvcdir=C:\Program Files^ (x86)\Microsoft^ Visual^ Studio^ 14.0\VC\
if not defined DevEnvDir call "%msvcdir%vcvarsall.bat" amd64
set file_input=src\thirdparty\gl_core_3_3.c
set name=gl_core_3_3
cl -nologo -O2 -MT -TP -c %file_input% ^
&& lib -nologo %name%.obj -out:%name%.lib ^
&& del *.obj
[ViewState]
Mode=
Vid=
FolderType=Generic
154
1475281534.914886
......@@ -165,7 +165,9 @@ typedef double real64;
#ifdef RITUALS_USE_FLOAT32
typedef real32 real;
#else
$(exclude)
typedef real64 real;
$(end)
#endif
typedef ptrdiff_t isize;
......@@ -204,6 +206,8 @@ typedef size_t usize;
#define Megabytes(b) (Kilobytes(b) * UINT64_C(1024))
#define Gigabytes(b) (Megabytes(b) * UINT64_C(1024))
#include "../meta_out.h"
//local imports
#include "rituals_math.cpp"
#include "rituals_game.cpp"
......
......@@ -56,8 +56,8 @@ void main()
vertex_x += uint(4) * v_anchor;
vertex_y += uint(4) * v_anchor;
uint v_fliphoriz = v_flags & (1<<4);
uint v_flipvert = v_flags & (1<<5);
uint v_fliphoriz = v_flags & uint(1<<4);
uint v_flipvert = v_flags & uint(1<<5);
vec2 coords = vec2(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment