Project
Loading...
Searching...
No Matches
hmm_vec4 Union Reference

#include <HandMadeMath.h>

Public Attributes

struct { 
 
   union { 
 
      hmm_vec3   XYZ 
 
      struct { 
 
         float   X 
 
         float   Y 
 
         float   Z 
 
      }  
 
   }  
 
   float   W 
 
};  
 
struct { 
 
   union { 
 
      hmm_vec3   RGB 
 
      struct { 
 
         float   R 
 
         float   G 
 
         float   B 
 
      }  
 
   }  
 
   float   A 
 
};  
 
struct { 
 
   hmm_vec2   XY 
 
   float   Ignored0_ 
 
   float   Ignored1_ 
 
};  
 
struct { 
 
   float   Ignored2_ 
 
   hmm_vec2   YZ 
 
   float   Ignored3_ 
 
};  
 
struct { 
 
   float   Ignored4_ 
 
   float   Ignored5_ 
 
   hmm_vec2   ZW 
 
};  
 
float Elements [4]
 

Detailed Description

Definition at line 381 of file HandMadeMath.h.

Member Data Documentation

◆ [struct]

struct { ... } hmm_vec4

◆ [struct]

struct { ... } hmm_vec4

◆ [struct]

struct { ... } hmm_vec4

◆ [struct]

struct { ... } hmm_vec4

◆ [struct]

struct { ... } hmm_vec4

◆ A

float hmm_vec4::A

Definition at line 404 of file HandMadeMath.h.

◆ B

float hmm_vec4::B

Definition at line 400 of file HandMadeMath.h.

◆ Elements

float hmm_vec4::Elements[4]

Definition at line 428 of file HandMadeMath.h.

◆ G

float hmm_vec4::G

Definition at line 400 of file HandMadeMath.h.

◆ Ignored0_

float hmm_vec4::Ignored0_

Definition at line 410 of file HandMadeMath.h.

◆ Ignored1_

float hmm_vec4::Ignored1_

Definition at line 411 of file HandMadeMath.h.

◆ Ignored2_

float hmm_vec4::Ignored2_

Definition at line 416 of file HandMadeMath.h.

◆ Ignored3_

float hmm_vec4::Ignored3_

Definition at line 418 of file HandMadeMath.h.

◆ Ignored4_

float hmm_vec4::Ignored4_

Definition at line 423 of file HandMadeMath.h.

◆ Ignored5_

float hmm_vec4::Ignored5_

Definition at line 424 of file HandMadeMath.h.

◆ R

float hmm_vec4::R

Definition at line 400 of file HandMadeMath.h.

◆ RGB

hmm_vec3 hmm_vec4::RGB

Definition at line 397 of file HandMadeMath.h.

◆ W

float hmm_vec4::W

Definition at line 392 of file HandMadeMath.h.

◆ X

float hmm_vec4::X

Definition at line 388 of file HandMadeMath.h.

◆ XY

hmm_vec2 hmm_vec4::XY

Definition at line 409 of file HandMadeMath.h.

◆ XYZ

hmm_vec3 hmm_vec4::XYZ

Definition at line 385 of file HandMadeMath.h.

◆ Y

float hmm_vec4::Y

Definition at line 388 of file HandMadeMath.h.

◆ YZ

hmm_vec2 hmm_vec4::YZ

Definition at line 417 of file HandMadeMath.h.

◆ Z

float hmm_vec4::Z

Definition at line 388 of file HandMadeMath.h.

◆ ZW

hmm_vec2 hmm_vec4::ZW

Definition at line 425 of file HandMadeMath.h.


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