formZ SDK | 5.0 API Reference | System | Math

# FZ_MATH_3D_CREATE_VEC

Description

Creates a 3d vector from two 3d points. From point 1 (_p1) to point 2 (_p2)

Plugin Prototype

#define FZ_MATH_3D_CREATE_VEC( _p1, _p2, _vec)

Parameters

fz_xyz_td * _p1 [Input]

3d point 1.

fz_xyz_td * _p2 [Input]

3d point 2.

fz_xyz_td * _vec [Result]

3d vector.

Returns

none

Availability

5.0.0.0

See Also

FZ_MATH_3D_VEC_LEN_SQUARED, FZ_MATH_3D_DIST_PT_PT_SQUARED, FZ_MATH_3D_DIST_PT_PT, FZ_MATH_3D_DIST_PT_PLANE, FZ_MATH_3D_IS_EQUAL_PTS, FZ_MATH_3D_SCALE_XYZ, FZ_MATH_3D_ADD_XYZ, FZ_MATH_3D_MID_PT, FZ_MATH_3D_DOT_PROD

Defined in

fz_math_api.h