From ee147bd78a2a29ced347f8a2de370b9eb80c80a4 Mon Sep 17 00:00:00 2001 From: sam-astro <77079540+sam-astro@users.noreply.github.com> Date: Wed, 12 Jan 2022 08:54:45 -0500 Subject: [PATCH] Add vec2 type --- Slang/builtin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Slang/builtin.h b/Slang/builtin.h index d14bdef..774e162 100644 --- a/Slang/builtin.h +++ b/Slang/builtin.h @@ -17,7 +17,7 @@ using namespace std; using namespace boost; -vector types = { "int", "float", "string", "bool", "void", "null", "Sprite"}; +vector types = { "int", "float", "string", "bool", "void", "null", "Sprite", "Vec2"}; unordered_map>> builtinFunctionValues; unordered_map builtinVarVals;