gg/gx/ray.go

10 lines
130 B
Go

package gx
// The type represents math ray.
type Ray struct {
// The start point.
P Point
// Rotation of the ray.
R Float
}