Converted to use a separated [matrix] mod wrapping the lua-matrix library
parent
7daaf6f1e5
commit
2458aa3c68
|
@ -8,6 +8,12 @@ If you like my contributions you may consider reading http://entuland.com/en/sup
|
|||
|
||||
WIP MOD forum thread: https://forum.minetest.net/viewtopic.php?f=9&t=20321
|
||||
|
||||
# Dependencies
|
||||
|
||||
A thin wrapper around a very useful library to deal with Matrices:
|
||||
|
||||
[matrix] https://github.com/entuland/lua-matrix
|
||||
|
||||
# Why yet another screwdriver?
|
||||
|
||||
The default screwdriver included in minetest_game, as well as any other screwdriver mod I have found, operate differently depending on the node's direction and rotation. This means that any given click on a node may produce different results which you cannot predict at a glance.
|
||||
|
|
2
init.lua
2
init.lua
|
@ -2,8 +2,6 @@ rhotator = {}
|
|||
|
||||
local mod_path = minetest.get_modpath(minetest.get_current_modname())
|
||||
|
||||
local matrix = dofile(mod_path .. "/lib/matrix.lua")
|
||||
|
||||
-- constants
|
||||
|
||||
local POS = {}
|
||||
|
|
1251
lib/matrix.lua
1251
lib/matrix.lua
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue