Skip to content
Kay Steinhoff edited this page Oct 7, 2024 · 1 revision

vec2

typedef struct
{
    float x;
    float y;
    float w;
}vec2;

Description

One could say the vec2 is actually a vec3 but due to the fact that w isn't being used by the normal user I thought this to be more intuitive in the average implementation

Clone this wiki locally