mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-05 15:57:28 +02:00
doc tweak
This commit is contained in:
@@ -1372,6 +1372,11 @@ function is_2d_transform(t) = // z-parameters are zero, except we allow t[2][
|
|||||||
// .
|
// .
|
||||||
// Any other combination of matrices will produce an error, including acting with a 2D matrix (3x3) on 3D data.
|
// Any other combination of matrices will produce an error, including acting with a 2D matrix (3x3) on 3D data.
|
||||||
// The output of apply is always the same dimension as the input—projections are not supported.
|
// The output of apply is always the same dimension as the input—projections are not supported.
|
||||||
|
// .
|
||||||
|
// Note that a matrix with a negative determinant such as any mirror reflection flips the orientation of faces.
|
||||||
|
// If the transform matrix is square then apply() checks the determinant and if it is negative, apply() reverses the face order so that
|
||||||
|
// the transformed VNF has faces with the same winding direction as the original VNF. This adjustment applies
|
||||||
|
// only to VNFs, not to beziers or point lists.
|
||||||
// Arguments:
|
// Arguments:
|
||||||
// transform = The 2D (3x3 or 2x3) or 3D (4x4 or 3x4) transformation matrix to apply.
|
// transform = The 2D (3x3 or 2x3) or 3D (4x4 or 3x4) transformation matrix to apply.
|
||||||
// points = The point, point list, bezier patch, or VNF to apply the transformation to.
|
// points = The point, point list, bezier patch, or VNF to apply the transformation to.
|
||||||
|
Reference in New Issue
Block a user