vm_math  1.0.7
Set vector components

Functions

static void vm_V3Math< T_fp >::set (T_fp v[], T_fp x, T_fp y, T_fp z)
 
static void vm_V3Math< T_fp >::set (T_fp v[], T_fp x)
 

Detailed Description

Function Documentation

template<class T_fp >
void vm_V3Math< T_fp >::set ( T_fp  v[],
T_fp  x,
T_fp  y,
T_fp  z 
)
inlinestatic

Set components of v to x, y, z.

Parameters
vvector to be set
xx component
yy component
zz component

Definition at line 255 of file vm_v3math.h.

template<class T_fp >
void vm_V3Math< T_fp >::set ( T_fp  v[],
T_fp  x 
)
inlinestatic

Set all components of v to x.

Parameters
vvector to be set
xvalue

Definition at line 260 of file vm_v3math.h.

References vm_VMath< T_fp, N_len >::set().