Function nanogui::scale¶
Defined in File glutil.h
Function Documentation¶
-
Matrix4f
nanogui
::
scale
(const Vector3f &v)¶ Construct homogeneous coordinate scaling matrix.
Returns a 3D homogeneous coordinate matrix that scales the X, Y, and Z components with the corresponding entries of the 3D vector
v
. Thew
component is left unchanged- Parameters
v
: The vector representing the scaling for each axis.