Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DEFAULT_SIZE = Vec2{
R: 26,
C: 80,
}
View Source
var UnitVec2 = Vec2{R: 1, C: 1}
Functions ¶
Types ¶
type Rect ¶
type Rect struct {
Position, Size Vec2
}
func (Rect) BottomRight ¶ added in v0.1.11
Get the position of the bottom-right corner of the Rect.
Click to show internal directories.
Click to hide internal directories.