2024-05-28 11:24:12 +03:00
|
|
|
package mx
|
2023-05-11 12:28:34 +03:00
|
|
|
|
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.
|
2024-05-28 11:24:12 +03:00
|
|
|
Start Vector
|
2023-05-28 21:07:05 +03:00
|
|
|
// Rotation of the ray.
|
2024-05-28 11:24:12 +03:00
|
|
|
Rotaton Float
|
2023-05-11 12:28:34 +03:00
|
|
|
}
|
|
|
|
|