fix comments
This commit is contained in:
parent
8aa65bf08d
commit
80a0132c39
1 changed files with 3 additions and 2 deletions
|
@ -2,12 +2,13 @@ package geom
|
|||
|
||||
import "image"
|
||||
|
||||
// Projector is used by Box and others to accept arbitrary
|
||||
// Projector types can be used to project 3D coordinates into 2D. It only
|
||||
// supports projecting Z into a 2D offset (i.e. not a general projection).
|
||||
type Projector interface {
|
||||
// Sign returns a {-1, 0, 1}-valued 2D vector pointing in the direction that
|
||||
// positive Z values are projected to.
|
||||
Sign() image.Point
|
||||
// Project projects a Z coordinate into 2D offset.
|
||||
// Project converts a Z coordinate to a 2D offset.
|
||||
Project(int) image.Point
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue