aboutsummaryrefslogtreecommitdiff
path: root/oop_example.lua
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-05-14 15:01:55 +0800
committerDeterminant <[email protected]>2015-05-14 15:01:55 +0800
commitf48dc493b5b77fd4e4472dd6c78b7542a4884129 (patch)
tree0b7a0f95df28fc100fc1fd252ce1d0215d19150d /oop_example.lua
parent46ccec6d5ad057476e945afa34981f7e8d732547 (diff)
add basic matrix implementation
Diffstat (limited to 'oop_example.lua')
-rw-r--r--oop_example.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/oop_example.lua b/oop_example.lua
index a4e7009..45da36e 100644
--- a/oop_example.lua
+++ b/oop_example.lua
@@ -1,4 +1,4 @@
-a = nerv.point()
+a = nerv.Point()
print(a:get_sinx())
a:set_x(3.14)
print(a:get_sinx())