diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:36 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:36 -0800 |
commit | 5bea21e81ed516440e34e480f2c33ca41aa8c597 (patch) | |
tree | 653ace1b8fe0a9916d861d35ff8f611b46c80d37 /solid.txi | |
parent | 237c6e380aebdcbc70bd1c9ecf7d3f6effca2752 (diff) | |
download | slib-5bea21e81ed516440e34e480f2c33ca41aa8c597.tar.gz slib-5bea21e81ed516440e34e480f2c33ca41aa8c597.zip |
Import Upstream version 3a4upstream/3a4
Diffstat (limited to 'solid.txi')
-rw-r--r-- | solid.txi | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -287,6 +287,13 @@ returned object. @end defun +@defun solid:lumber geometry appearance + +Returns a box of the specified @var{geometry}, but with the y-axis of a texture +specified in @var{appearance} being applied along the longest dimension in @var{geometry}. +@end defun + + @defun solid:cylinder radius height appearance @@ -368,6 +375,19 @@ The following code will return a red line between points at @end defun +@defun solid:prism xz-array y appearance + + +@defunx solid:prism xz-array y +@var{xz-array} must be an @var{n}-by-2 array holding a sequence of coordinates +tracing a non-intersecting clockwise loop in the x-z plane. @code{solid:prism} will +close the sequence if the first and last coordinates are not the +same. + +@code{solid:prism} returns a capped prism @var{y} long. +@end defun + + @defun solid:basrelief width height depth colorray appearance |