The Lambda Lab
/
projects
/
raymarcher.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated holy_sphere scene to new api.
[raymarcher.git]
/
Vector.lua
diff --git
a/Vector.lua
b/Vector.lua
index
3f35b64
..
db39ce8
100644
(file)
--- 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