LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
Loading...
Searching...
No Matches
JUNO_VEC2_F32_TAG Union Reference

2D vector union supporting Cartesian, polar, and array access (float32 precision). More...

#include <juno_vec_types.h>

Collaboration diagram for JUNO_VEC2_F32_TAG:

Data Fields

JUNO_VEC2_F32_CART_T tCart
 
JUNO_VEC2_F32_SPH_T tSph
 
float arr [2]
 

Detailed Description

2D vector union supporting Cartesian, polar, and array access (float32 precision).

  • tCart: Cartesian form.
  • tSph: Polar form.
  • arr: Raw component array [0]=x/r, [1]=y/phi.

Field Documentation

◆ arr

float JUNO_VEC2_F32_TAG::arr[2]

Raw component array.

◆ tCart

JUNO_VEC2_F32_CART_T JUNO_VEC2_F32_TAG::tCart

Cartesian coordinates.

◆ tSph

JUNO_VEC2_F32_SPH_T JUNO_VEC2_F32_TAG::tSph

Polar coordinates.


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