PDA

View Full Version : Vectors


Skyld
11-12-2005, 10:15 PM
First post of this nice and shiny new forum.

Anyway. I was looking at the Torque documentation variable types, specifically vectors. However! The documentation was not very useful and did not explain much about their use.

I know that vectors are commonly used in GUI controls in Graal, such as "extent" and "position" attributes, but I was wondering, how is a variable defined or used as a vector?

Admins
11-16-2005, 02:37 PM
Vectors (in torque) are arrays with 2 or 3 members, although in torque you need to call special functions to read the array members