#include <RayDistance.h>
Static Public Member Functions | |
float | squaredDistance (const Ray &ray, const Vector3 &point) |
点距離の二乗 | |
float | squaredDistance (const Ray &ray0, const Ray &ray1) |
距離の二乗 | |
float | squaredDistance (const Ray &ray, const Segment &segment) |
セグメント距離の二乗 | |
float | squaredDistance (const Ray &ray, const Sphere &sphere) |
球距離の二乗 | |
float | squaredDistance (const Ray &ray, const Triangle &triangle) |
三角距離の二乗 |
Definition at line 39 of file RayDistance.h.
|
三角距離の二乗
Definition at line 185 of file RayDistance.cpp. References Assert. |
|
球距離の二乗
Definition at line 177 of file RayDistance.cpp. References Assert. |
|
セグメント距離の二乗
Definition at line 109 of file RayDistance.cpp. References Lamp::Vector3::dotProduct(), Lamp::Segment::getDirection(), Lamp::Ray::getDirection(), Lamp::Segment::getOrigin(), Lamp::Ray::getOrigin(), and Lamp::Vector3::getSquaredLength(). |
|
距離の二乗
Definition at line 51 of file RayDistance.cpp. References Lamp::Vector3::dotProduct(), Lamp::Ray::getDirection(), Lamp::Ray::getOrigin(), and Lamp::Vector3::getSquaredLength(). |
|
点距離の二乗
Definition at line 34 of file RayDistance.cpp. References Lamp::Vector3::dotProduct(), Lamp::Ray::getDirection(), Lamp::Ray::getOrigin(), and Lamp::Vector3::getSquaredLength(). |