lua-users home
lua-l archive

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

Ok, but that doesn't answer my question. I already have my own vector class that I want to use. And I would like to use Tolua to convert it. How can I get tolua to create a binding so I can access those variables using a indexed array pointer (e.g. vectors[5].x = 10.0).

From: Luiz Henrique de Figueiredo <>
Reply-To: Lua list <>
To: Lua list <>
Subject: Re: Tolua and indexed array pointers
Date: Wed, 16 Mar 2005 23:37:18 -0300

On Wed, Mar 16, 2005 at 09:25:35PM -0500, R. Frazier wrote:
> How can I set the variables of a data structure using an indexed array
> pointer?
> class vec3 {

See .

Designer Mail isn't just fun to send, it's fun to receive. Use special stationery, fonts and colors. Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*.