Documentation ¶
Index ¶
- Constants
- type HitType
- func IntersectRayPlane(r core.Ray, plane *core.Plane, maxDist float64) (hit HitType, dist float64)
- func IntersectRaySphere(r core.Ray, sphere *core.Sphere, maxDist float64) (hit HitType, dist float64)
- func IntersectRayTriangle(r core.Ray, p1, p2, p3 core.Vec3, maxDist float64) (hit HitType, dist float64)
Constants ¶
View Source
const ( HIT_FROM_INSIDE = -1 MISS = 0 HIT = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.