![]() |
SH4ZAM! 0.1.0
Fast math library for the Sega Dreamcast's SH4 CPU
|
#include <shz_vector.h>


Data Fields | ||
| union { | ||
| float e [4] | ||
| struct { | ||
| union { | ||
| struct { | ||
| float x | ||
| float y | ||
| float z | ||
| } | ||
| shz_vec3_t xyz | ||
| } | ||
| float w | ||
| } | ||
| struct { | ||
| shz_vec2_t xy | ||
| shz_vec2_t zw | ||
| } | ||
| }; | ||
4D Vector type
Structure for holding coordinates of a 4-dimensional vector.
Definition at line 82 of file shz_vector.h.
| float shz_vec4_t::e[4] |
<X, Y, Z, W> coordinates as an array.
Definition at line 84 of file shz_vector.h.
| float shz_vec4_t::x |
X coordinate.
Definition at line 88 of file shz_vector.h.
| float shz_vec4_t::y |
Y coordinate.
Definition at line 89 of file shz_vector.h.
| float shz_vec4_t::z |
Z coordinate.
Definition at line 90 of file shz_vector.h.
| shz_vec3_t shz_vec4_t::xyz |
<X, Y, Z> coordinates as a 3D vector
Definition at line 92 of file shz_vector.h.
| float shz_vec4_t::w |
W coordinate.
Definition at line 94 of file shz_vector.h.
| shz_vec2_t shz_vec4_t::xy |
<X, Y> coordinates as a 2D vector
Definition at line 97 of file shz_vector.h.
| shz_vec2_t shz_vec4_t::zw |
<Z, W> coordinates as a 2D vector
Definition at line 98 of file shz_vector.h.