Documentation ¶
Overview ¶
Package ray implements the interface and methods to work with rays.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ray ¶
type Ray interface { Origin() *vec3.Vec3Impl Direction() *vec3.Vec3Impl PointAtParameter(t float64) *vec3.Vec3Impl Time() float64 }
Ray defines the methods used to work with rays.
type RayImpl ¶
type RayImpl struct {
// contains filtered or unexported fields
}
RayImpl implements the Ray interface.
func (*RayImpl) PointAtParameter ¶
PointAtParameter is used to traverse the ray.
Click to show internal directories.
Click to hide internal directories.