lua-users home
lua-l archive

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


I just tryied LUA and it seems really Cool:)

I'm just wondering what would be the easiest way to add new variable types
like Vector, Matrix and Quaternion, anybody got a clue?
Where access wouldn't be need to be on public level like for Vector
(X,Y,Z).. .but rather by a function like VectorSetX(vector_var,1)... or
something.. this is doable right?
(some code would be very appriciated)

Ales Mlakar
(aka JaZzBrE, ICQ# 2168060)
JaZz=Life;     // Jazz is Life