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

vec3

typedef struct
{
    float x;
    float y;
    float z;
    float w;
}vec3;

Example

Once again one could argue it's a vec4 but as w isn't normally being used I've named it vec3 for a more intuitive workflow.

Clone this wiki locally