|
![](/i/fill.gif) |
Warp wrote:
>> It's equivalent to a.x=b.z; a.y=b.x; Any combination of xyz letters would
>> work, probably even a.xxx=b.yzy;
>
> All to save typing a few extra characters... :P
AFAIK, this is the sort of syntax that the 3D graphics cards use for
built-in vector operations. Of course, that's a separate compiler with
"custom" syntax, so it's probably just as efficient if not moreso.
I'm guessing given the name of the class he was trying to duplicate the
syntax used in the grpahics card stuff.
--
Darren New, San Diego CA, USA (PST)
Serving Suggestion:
"Don't serve this any more. It's awful."
Post a reply to this message
|
![](/i/fill.gif) |