tagSEGMENT_POINT_RESULT

関数Segment_Point_Analyseの結果を受け取る為の構造体

package nothrow @nogc extern (C++, DxLib)
struct tagSEGMENT_POINT_RESULT {}

Members

Variables

Seg_MinDist_Pos
.VECTOR Seg_MinDist_Pos;

線分が点に最も接近する線分上の座標

Seg_MinDist_Pos1_Pos2_t
float Seg_MinDist_Pos1_Pos2_t;

線分が点に最も接近する座標の線分のt(0.0f~1.0f、最近点座標 = ((SegPos2 - SegPos1) * t) + SegPos1)

Seg_Point_MinDist_Square
float Seg_Point_MinDist_Square;

線分と点が最も接近する座標間の距離の二乗

Meta