Functions

Set vector components

Functions

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

Function Documentation

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

Set components of v to x, y, z.

Parameters:
v vector to be set
x x component
y y component
z z component

Definition at line 255 of file vm_v3math.h.

Referenced by vm_V3Math< T_fp >::set().

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

Set all components of v to x.

Parameters:
v vector to be set
x value

Reimplemented from vm_VMath< T_fp, 3 >.

Definition at line 260 of file vm_v3math.h.

References vm_V3Math< T_fp >::set().