I have a Vector3 structure that I define using a union, such that I can access individual elements by both a variable and array:
Vector3
struct Vector3 {