formZ SDK | 5.0 API Reference | System | Math

fz_math_3d_cross_prod

Description

Given two 3d vectors, returns the cross product as a normalized 3d vector.

Plugin Prototype

fzrt_error_td fz_math_3d_cross_prod(

fz_xyz_td *

vec1,

fz_xyz_td *

vec2,

fz_xyz_td *

norm )

Parameters

vec1 [Input]

3d vector 1

vec2 [Input]

3d vector 2

norm [Result]

normalized cross product 3d vector

Returns

Error codes

Availability

5.0.0.0

Example Files

util_math_3d.fsl

See Also

fz_math_2d_perp_vec

Function Set

fz_math_fset


Defined in

fz_math_api.h