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

#include <shz_vector.h>

Inheritance diagram for shz_vec2_t:

Data Fields

union { 
 
   float   e [2] 
 
   struct { 
 
      float   x 
 
      float   y 
 
   }  
 
};  
 

Detailed Description

2D Vector type

Structure for holding coordinates of a 2-dimensional vector.

See also
shz_vec3_t, shz_vec4_t

Definition at line 38 of file shz_vector.h.

Field Documentation

◆ e

float shz_vec2_t::e[2]

<X, Y> coordinates as an array

Definition at line 40 of file shz_vector.h.

◆ x

float shz_vec2_t::x

X coordinate.

Definition at line 42 of file shz_vector.h.

◆ y

float shz_vec2_t::y

Y coordinate.

Definition at line 43 of file shz_vector.h.


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