Home
last modified time | relevance | path

Searched refs:P1 (Results 1 – 2 of 2) sorted by relevance

/CTR-SDK-1.0.0/CTR_SDK/include/nn/math/
Dmath_Geometry.h142 SEGMENT3(const f32* p) : P0(p), P1(p + 3) {} in SEGMENT3()
143 SEGMENT3(const VEC3& pt0, const VEC3& pt1) : P0(pt0), P1(pt1) {} in SEGMENT3()
147 bool operator==(const self_type& rhs) const { return P0 == rhs.P0 && P1 == rhs.P1; }
148 bool operator!=(const self_type& rhs) const { return P0 != rhs.P0 || P1 == rhs.P1; }
151 VEC3 P1; member
158 VEC3Sub(&d, &S->P1, &S->P0); in Set()
212 PLANE(const VEC3& P0, const VEC3& P1, const VEC3& P2) in PLANE()
214 Set(&P0, &P1, &P2); in PLANE()
235 void Set(const VEC3* P0, const VEC3* P1, const VEC3* P2);
255 CAPSULE(const VEC3& P0, const VEC3& P1, f32 r_) : S(P0, P1), r(r_) {} in CAPSULE()
/CTR-SDK-1.0.0/CTR_SDK/sources/libraries/math/
Dmath_Geometry.cpp33 PLANE::Set(const VEC3* P0, const VEC3* P1, const VEC3* P2) in Set() argument
38 VEC3Sub(&v1, P1, P0); in Set()
287 f32 P0P1 = FSqrt((S->P0 - S->P1).LenSq()); in DistSqPoint3ToSegment3()
305 VEC3Sub(&vec, P, &S->P1); in DistSqPoint3ToSegment3()
539 VEC3 u(S1->P1 - S1->P0); in DistSqSegment3ToSegment3()
540 VEC3 v(S2->P1 - S2->P0); in DistSqSegment3ToSegment3()
676 VEC3Sub(&segDir, &S->P1, &S->P0); in DistSqLine3ToSegment3()
822 VEC3Sub(&segDir, &S->P1, &S->P0); in DistSqRay3ToSegment3()
985 VEC3Sub(&dir, &S->P1, &S->P0); in IntersectionSegment3Plane()
1139 VEC3Sub(&dir, &S->P1, &S->P0); in IntersectionSegment3Sphere()
[all …]