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


Data Fields | ||
| union { | ||
| float e [3] | ||
| struct { | ||
| union { | ||
| struct { | ||
| float x | ||
| float y | ||
| } | ||
| shz_vec2_t xy | ||
| } | ||
| float z | ||
| } | ||
| }; | ||
3D Vector type
Structure for holding coordinates of a 3-dimensional vector.
Definition at line 57 of file shz_vector.h.
| float shz_vec3_t::e[3] |
<X, Y, Z> coordinates as an array
Definition at line 59 of file shz_vector.h.
| float shz_vec3_t::x |
X coordinate.
Definition at line 63 of file shz_vector.h.
| float shz_vec3_t::y |
Y coordinate.
Definition at line 64 of file shz_vector.h.
| shz_vec2_t shz_vec3_t::xy |
Inner 2D vector containing <X, Y> coords.
Definition at line 66 of file shz_vector.h.
| float shz_vec3_t::z |
Z coordinate.
Definition at line 68 of file shz_vector.h.