Does it have to be a 4D vector?
What do I have to do to make it work with

Code:
type vector = array[0..2] of single;