My guess is that you would have to set an Accessor for v3 in the encompassing object space (object template).
On Fri, Oct 11, 2013 at 10:24 PM, Gregory Hlavac <[email protected]> wrote: > var v3 = new vec3(1, 2, 3); > > trace("" + v3); > trace(v3); > > > The first works, the second doesn't. > > Is there any way that I can have it call toString implicitly without having > to state it directly on the second with .toString()? > > -- > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
