10 lines
130 B
Go
10 lines
130 B
Go
package gg
|
|
|
|
// The type represents math ray.
|
|
type Ray struct {
|
|
// The start point.
|
|
P Point
|
|
// Rotation of the ray.
|
|
R Float
|
|
}
|
|
|