How to pass a matrix to lua?
Posted: Fri Nov 21, 2008 8:58 pm
My engine needs control over matrices but if I pass a pointer it will create a new matrix every time I multiply it. So I need to push the actual matrix but I don't know how to push an array on to the stack.
Any ideas? Do I push each element of it?
Any ideas? Do I push each element of it?