X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=blobdiff_plain;f=Vector.lua;h=db39ce8fc2282b8f3c6be1f36da1a99803026f51;hb=a688d716f09ed45ff75472955d1f70aa2e83fc79;hp=3f35b641705949ab21d51c853a400e4c6250c36c;hpb=c86e8c7637a7368950add912b9bce244bbf9e689;p=raymarcher.git diff --git a/Vector.lua b/Vector.lua index 3f35b64..db39ce8 100644 --- a/Vector.lua +++ b/Vector.lua @@ -101,7 +101,8 @@ Vector = { normalize = normalize, x = new{1,0,0}, y = new{0,1,0}, - z = new{0,0,1} + z = new{0,0,1}, + origin = new{0,0,0} } return Vector