Quote:Original post by CodeCriminal
all you want to do is 'cast' your vector class into an array of floats right?
is a similar solution and would have been my next suggestion, had CodeCriminal not offered it first.
(x, y, z) is the standard notation for vectors, but in mathematics, the unit vectors are i = <1, 0, 0>, j = <0, 1, 0> and k = <0, 0, 1>, and so vectors are commonly written with i, j, and k looking like axis labels, when it is actually just scalar multiplication and addition at work.
As such, I certainly would not be uncomfortable using i, j and k as labels for the vector components.