Kohi Game Engine
uvec2_u Union Reference

A 2-element vector of unsigned ints. More...

#include <math_types.h>

Data Fields

u32 elements [2]
 An array of x, y, z. More...
 
union {
   struct {
      union {
         u32   x
 The first element. More...
 
         u32   r
 The first element. More...
 
         u32   s
 The first element. More...
 
      } 
 
      union {
         u32   y
 The second element. More...
 
         u32   g
 The third element. More...
 
         u32   t
 The third element. More...
 
      } 
 
   } 
 
}; 
 

Detailed Description

A 2-element vector of unsigned ints.

Field Documentation

◆ 

union { ... }

◆ elements

u32 elements[2]

An array of x, y, z.

◆ g

u32 g

The third element.

◆ r

u32 r

The first element.

◆ s

u32 s

The first element.

◆ t

u32 t

The third element.

◆ x

u32 x

The first element.

◆ y

u32 y

The second element.


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