srp
software rendering pipeline
Loading...
Searching...
No Matches
vec4 Union Reference

#include <vec.h>

Collaboration diagram for vec4:

Public Attributes

struct { 
 
   float   x 
 
   float   y 
 
   float   z 
 
   float   w 
 
};  
 
struct { 
 
   vec2   xy 
 
   float   _z 
 
   float   _w 
 
};  
 
struct { 
 
   float   _x 
 
   vec2   yz 
 
   float   __w 
 
};  
 
struct { 
 
   float   __x 
 
   float   _y 
 
   vec2   zw 
 
};  
 
struct { 
 
   vec3   xyz 
 
   float   ___w 
 
};  
 
struct { 
 
   float   ___x 
 
   vec3   yzw 
 
};  
 
float v [4]
 

Detailed Description

Represents a 4-element vector of floats


The documentation for this union was generated from the following file: