Documentation
¶
Overview ¶
Package ray provides an implementation of a ray in 3D space, and intersections with surfaces
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Intersection ¶
type Intersection struct { Point *maths.Vec3 Incoming *Ray Material int Distance float64 U, V float64 Normal *maths.Vec3 SurfaceOx *maths.Vec3 SurfaceOy *maths.Vec3 }
Intersection represents a point on a surface struck by a ray
Click to show internal directories.
Click to hide internal directories.