formZ SDK | 5.0 API Reference | System | Math

fz_math_3x3_set_refl_mat

Description

Initializes a 3x3 matrix to a reflection matrix. Reflects about a line parallel to the x or y axis at a given distance from the origin.

Plugin Prototype

fzrt_error_td fz_math_3x3_set_refl_mat(

fz_mat3x3_td *

mat,

fz_axis_enum

which_axis,

double

dist )

Parameters

mat [Input, Result]

3x3 matrix

which_axis [Input]

axis to reflect about
either FZ_AXIS_X or FZ_AXIS_Y

dist [Input]

distance of reflection line from origin

Returns

Error codes

Availability

5.0.0.0

Example Files

util_math_matrix.fsl

See Also

, fz_math_3x3_set_rot_mat, fz_math_3x3_set_rot_cntr_mat, fz_math_3x3_set_scl_mat, fz_math_3x3_set_scl_cntr_mat

Function Set

fz_math_fset


Defined in

fz_math_api.h