• catloaf@lemm.ee
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    4 months ago

    In pure mathematics, that’s. In game engines, a vector is a data type, and you can stuff whatever the fuck you want in its components. Not saying you should, but you can.

    Generally they’re just used where they make sense, like the direction+magnitude example. RGB is a little weird until you realize that a color is really just a point in a 3D space along the red, green, and blue axes.