#include <RayIntersection.h>
Static Public Member Functions | |
bool | intersect (const Ray &ray, const Vector3 &point, float range=Math::epsilon) |
点交差 | |
bool | intersect (const Ray &ray0, const Ray &ray1, float range=Math::epsilon) |
交差 | |
bool | intersect (const Ray &ray, const Segment &segment, float range=Math::epsilon) |
セグメント交差 | |
bool | intersect (const Ray &ray, const Sphere &sphere) |
球交差 | |
bool | intersect (const Ray &ray, const Triangle &triangle) |
三角交差 |
Definition at line 39 of file RayIntersection.h.
|
三角交差
Definition at line 68 of file RayIntersection.cpp. References Assert. |
|
球交差
Definition at line 58 of file RayIntersection.cpp. References Lamp::Sphere::getCenter(), Lamp::Sphere::getRadius(), and Lamp::Ray::getSquaredDistance(). |
|
セグメント交差
Definition at line 50 of file RayIntersection.cpp. References Lamp::Ray::getSquaredDistance(). |
|
交差
Definition at line 43 of file RayIntersection.cpp. References Lamp::Ray::getSquaredDistance(). |
|
点交差
Definition at line 34 of file RayIntersection.cpp. References Assert. |