Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Black = color.RGBA{0, 0, 0, 255}
Black color
View Source
var Blue = color.RGBA{0, 0, 255, 255}
Blue color
View Source
var Green = color.RGBA{0, 255, 0, 255}
Green color
View Source
var Red = color.RGBA{255, 0, 0, 255}
Red color
View Source
var White = color.RGBA{255, 255, 255, 255}
White color
Functions ¶
func GetIntersections ¶
GetIntersections Get the next intersection between a circle centered at {0,0} with radius = R and a line with equation Ax + By + C = 0
Types ¶
type SDL ¶
type SDL struct {
// contains filtered or unexported fields
}
SDL structure
func (*SDL) Circle ¶
Circle Draw a circle of center (x0, y0) and radius R with color C and thickness T
func (*SDL) Sector ¶
Sector Draw a circle sector of center (x0, y0) and radius R with color C and thickness T
Click to show internal directories.
Click to hide internal directories.