next up previous
Next: t_see_world Up: t_see_world Previous: t_see_world

2. Recommended procedures and functions to use

Please use arrays for vectors and matrices, for example, p[], R[][], instead of using a different letter for each vector or matrix entry. This is usually better programming procedure, as it permits vector and matrix calculations to be done with loops rather than many separate statements. Then if there is a bug in the loop, it will be dramatic and will be more apt to be discovered than a bug in one of several separate statements. As mentioned, for clarity you can define x,y,z to be the indices 0,1,2.





Kirby A. Baker 2002-02-21