render/event/vector.go

8 lines
123 B
Go

package event
// Vector holds a floating point vector along an X and Y axis.
type Vector struct {
X float64
Y float64
}