Tweaks to constants.scad docs.

This commit is contained in:
Revar Desmera 2023-04-17 18:25:38 -07:00
parent 38c3d4f41b
commit 5a48f4b92e

View file

@ -4,8 +4,9 @@
// use with geometry.scad. // use with geometry.scad.
// Includes: // Includes:
// include <BOSL2/std.scad> // include <BOSL2/std.scad>
// FileGroup: Basic Modeling
// FileSummary: Constants provided by the library // FileSummary: Constants provided by the library
// FileFootnotes: STD=Included in std.scad
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// a value that the user should never enter randomly; // a value that the user should never enter randomly;
@ -127,6 +128,14 @@ function get_slop() = is_undef($slop) ? 0 : $slop;
INCH = 25.4; INCH = 25.4;
// Constant: IDENT
// Synopsis: A constant containing the 3D identity transformation matrix.
// Topics: Constants, Affine, Matrices, Transforms
// See Also: ident()
// Description: Identity transformation matrix for three-dimensional transforms. Equal to `ident(4)`.
IDENT=ident(4);
// Section: Directional Vectors // Section: Directional Vectors
// Vectors useful for `rotate()`, `mirror()`, and `anchor` arguments for `cuboid()`, `cyl()`, etc. // Vectors useful for `rotate()`, `mirror()`, and `anchor` arguments for `cuboid()`, `cyl()`, etc.
@ -247,12 +256,4 @@ RAY = [true, false];
LINE = [false, false]; LINE = [false, false];
// Constant: IDENT
// Synopsis: A constant containing the 3D identity transformation matrix.
// Topics: Affine, Matrices, Transforms
// See Also: ident()
// Description: Identity transformation matrix for three-dimensional transforms. Equal to `ident(4)`.
IDENT=ident(4);
// vim: expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap // vim: expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap