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