vm_math  1.0.7
Dot and Cross products.

Functions

static T_fp vm_V3Math< T_fp >::dot (T_fp const v1[], T_fp const v2[])
 
static void vm_V3Math< T_fp >::cross (T_fp prod[], T_fp const v1[], T_fp const v2[])
 

Detailed Description

Function Documentation

template<class T_fp >
void vm_V3Math< T_fp >::cross ( T_fp  prod[],
T_fp const  v1[],
T_fp const  v2[] 
)
inlinestatic

Cross (wedge) product of two vectors

Returns
cross (wedge) product of v1 with v2.
Parameters
prodcross (wedge) product of v1 with v2.
v11st vector
v22nd vector

Definition at line 272 of file vm_v3math.h.

template<class T_fp >
T_fp vm_V3Math< T_fp >::dot ( T_fp const  v1[],
T_fp const  v2[] 
)
inlinestatic

Dot product of two vectors

Returns
dot (scalar) product of v1 with v2.
Parameters
v11st vector
v22nd vector

Definition at line 265 of file vm_v3math.h.