lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Since a number of people are using Lua for game scripting, I thought
I'd ask: has anyone come up with a clever way for adding support
for 3D vectors (an array of 3 floats: x, y, and z) to Lua? My current
solution seems to use an awful lot of code just to add one new data
type.

Thanks,
Jason
379