2023-05-11 12:28:34 +03:00
|
|
|
package gx
|
|
|
|
|
2023-05-28 21:07:05 +03:00
|
|
|
// The type represents math ray.
|
2023-05-11 12:28:34 +03:00
|
|
|
type Ray struct {
|
2023-05-28 21:07:05 +03:00
|
|
|
// The start point.
|
2023-05-11 12:28:34 +03:00
|
|
|
P Point
|
2023-05-28 21:07:05 +03:00
|
|
|
// Rotation of the ray.
|
|
|
|
R Float
|
2023-05-11 12:28:34 +03:00
|
|
|
}
|
|
|
|
|