Documentation ¶
Overview ¶
Package coords represents and can work with television coorindates
Coordinates represent the state of the emulation from the point of the television and are used throughout the emulation for rewinding, recording/playback and general information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Equal ¶
func Equal(A, B TelevisionCoords) bool
Equal compares two instances of TelevisionCoords and return true if both are equal.
func GreaterThan ¶
func GreaterThan(A, B TelevisionCoords) bool
GreaterThan compares two instances of TelevisionCoords and return true if A is greater than to B.
func GreaterThanOrEqual ¶
func GreaterThanOrEqual(A, B TelevisionCoords) bool
GreaterThanOrEqual compares two instances of TelevisionCoords and return true if A is greater than or equal to B.
Types ¶
type TelevisionCoords ¶
TelevisionCoords represents the state of the TV at any moment in time. It can be used when all three values need to be stored or passed around.
Zero value for clock field is -specification.ClksHBlank
func (TelevisionCoords) String ¶
func (c TelevisionCoords) String() string