Cleaned up function declarations, and fixed C compliance.

This commit is contained in:
StrangeZak
2016-05-20 12:01:31 -07:00
parent 87360e6adc
commit c9c60ba25b
3 changed files with 107 additions and 62 deletions

11
main.c Normal file
View File

@@ -0,0 +1,11 @@
#define HANDMADE_MATH_IMPLEMENTATION
#include "HandmadeMath.h"
int
main(void)
{
v2 VecOne = Vec2(1.0f, 1.0f);
v2 VecTwo = Vec2(3.0f, 3.0f);
v2 Result = AddVec2(VecOne, VecTwo);
}