package
Version:
v0.0.0-...-1a87af9
Opens a new window with list of versions in this module.
Published: May 15, 2024
License: CC0-1.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Box with axis aligned edges.
NewBox creates a new bounding Box around the given vertices.
Expand the width and height of the box by the given length.
The expansion occurs symmetrically about its centre.
BoxWithZ is a box with axis aligned edges that contains points which have a
constant z value.
NewBoxWithZ creates a new bounding Box around the given vertices which shall
be in a plane parallel to the Z=0 plane.
Corners of the box in anticlockwise order around the centre starting with the
top right corner.
func (BoxWithZ) Expand ¶
Expand the box in both axis directions by the given positive length.
type Corners struct {
TopRight, TopLeft, BottomLeft, BottomRight maf.Vec2
}
Corners of a box.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.