Vecmat 0.2.3
C math and linear algebra library for 2D/3D graphics, physics, and science.
Loading...
Searching...
No Matches
vector3 Struct Reference

#include <vecmat.h>

Data Fields

union { 
   struct { 
      vm_float_t   x 
      vm_float_t   y 
      vm_float_t   z 
   } 
   vm_float_t   v [VECMAT_VEC3_SIZE
}; 

Detailed Description

Definition at line 134 of file vecmat.h.

Field Documentation

◆ [union]

union { ... } vector3

◆ v

Definition at line 141 of file vecmat.h.

◆ x

vm_float_t vector3::x

Definition at line 137 of file vecmat.h.

Referenced by mat3_mul_vec3_ptr(), mat4_extract_rotation_ptr(), mat4_extract_scale_ptr(), mat4_extract_translation_ptr(), mat4_look_at_ptr(), mat4_mul_vec3_ptr_avx(), mat4_mul_vec3_ptr_avx2(), mat4_mul_vec3_ptr_avx512(), mat4_mul_vec3_ptr_scalar(), mat4_mul_vec3_ptr_sve(), mat4_mul_vec3_ptr_sve2(), mat4_rotation_ptr(), mat4_scale_ptr(), mat4_translate_ptr(), mat4_trs_ptr(), quat_from_axis_angle_ptr(), quat_from_euler_ptr(), quat_rotate_vec3_ptr(), quat_to_axis_angle_ptr(), quat_to_euler_ptr(), vec2_to_vec3_ptr(), vec3_abs_ptr(), vec3_add_assign(), vec3_add_ptr(), vec3_add_scalar_ptr(), vec3_assign(), vec3_assign_xyz(), vec3_ceil_ptr(), vec3_clamp_ptr(), vec3_clamp_scalar_ptr(), vec3_cross_ptr(), vec3_distance_squared(), vec3_div_ptr(), vec3_div_scalar_ptr(), vec3_dot(), vec3_eq(), vec3_floor_ptr(), vec3_fract_ptr(), vec3_from_vec2_ptr(), vec3_is_zero(), vec3_length_chebyshev(), vec3_length_manhattan(), vec3_lerp_ptr(), vec3_limit_length_ptr(), vec3_max_component(), vec3_max_ptr(), vec3_min_component(), vec3_min_ptr(), vec3_move_toward_ptr(), vec3_mul_ptr(), vec3_mul_scalar_ptr(), vec3_near(), vec3_neg_ptr(), vec3_normalize_ptr(), vec3_orthonormal_basis_ptr(), vec3_project_ptr(), vec3_reflect_ptr(), vec3_refract_ptr(), vec3_reject_ptr(), vec3_rotate_axis_ptr(), vec3_round_ptr(), vec3_sign_ptr(), vec3_slide_ptr(), vec3_sub_ptr(), vec3_sub_scalar_ptr(), vec3_sum(), vec3_xy_ptr(), vec3i_from(), vec3i_from_floored(), vec3i_from_rounded(), and vec4_to_vec3_ptr().

◆ y

vm_float_t vector3::y

◆ z

vm_float_t vector3::z

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