|
|
||
|
I use Vec3 and Quat types from the stack. My Lua/C++ bindings take and return tables. I do this because many libraries dealing with graphics (OpenGL etc.) take tables as arguments and I want to be able to pass a Vec3 into functions like gl.Vertex() without a conversion from a udata. Here's a typical function:
// Niklas