formZ SDK | 5.0 API Reference | System | Math

# fz_math_4x4_is_uniform_scale

Description

Check whether a 4x4 matrix has a uniform scale factor.
If the scale factor is uniform, the scale factor can be optionally returned.

Plugin Prototype

fzrt_boolean fz_math_4x4_is_uniform_scale(

fz_mat4x4_td * | mat,
double * | scale )

Parameters

mat [Input]

4x4 matrix

scale [Result, Optional]

scale factor

Returns

TRUE if matrix has uniform scale, FALSE otherwise

Availability

5.0.0.0

Example Files

util_math_matrix.fsl

See Also

fz_math_3x3_is_uniform_scale

Function Set

fz_math_fset

Defined in

fz_math_api.h