SH4ZAM! 0.1.0
Fast math library for the Sega Dreamcast's SH4 CPU
Loading...
Searching...
No Matches
shz_vec3_t Struct Reference

#include <shz_vector.h>

Inheritance diagram for shz_vec3_t:
Collaboration diagram for shz_vec3_t:

Data Fields

union { 
 
   float   e [3] 
 
   struct { 
 
      union { 
 
         struct { 
 
            float   x 
 
            float   y 
 
         }  
 
         shz_vec2_t   xy 
 
      }  
 
      float   z 
 
   }  
 
};  
 

Detailed Description

3D Vector type

Structure for holding coordinates of a 3-dimensional vector.

See also
shz_vec2_t, shz_vec4_t

Definition at line 57 of file shz_vector.h.

Field Documentation

◆ e

float shz_vec3_t::e[3]

<X, Y, Z> coordinates as an array

Definition at line 59 of file shz_vector.h.

◆ x

float shz_vec3_t::x

X coordinate.

Definition at line 63 of file shz_vector.h.

◆ y

float shz_vec3_t::y

Y coordinate.

Definition at line 64 of file shz_vector.h.

◆ xy

shz_vec2_t shz_vec3_t::xy

Inner 2D vector containing <X, Y> coords.

Definition at line 66 of file shz_vector.h.

◆ z

float shz_vec3_t::z

Z coordinate.

Definition at line 68 of file shz_vector.h.


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