Lines Matching refs:VEC3
81 LINE3(const VEC3& Pt, const VEC3& dir, bool isNormalized = false)
94 VEC3 P;
95 VEC3 d; // 直接代入する場合は正規化しておくこと
114 RAY3(const VEC3& Pt, const VEC3& dir, bool isNormalized = false)
125 VEC3 P;
126 VEC3 d; // 直接代入する場合は正規化しておくこと
143 SEGMENT3(const VEC3& pt0, const VEC3& pt1) : P0(pt0), P1(pt1) {} in SEGMENT3()
150 VEC3 P0;
151 VEC3 P1;
176 SPHERE(const VEC3& center, f32 radius) : C(center), r(radius) {} in SPHERE()
184 void Set(const VEC3* arrayPoint, unsigned int numPoints);
186 VEC3 C;
212 PLANE(const VEC3& P0, const VEC3& P1, const VEC3& P2) in PLANE()
223 f32 Test(const VEC3& P) const in Test()
235 void Set(const VEC3* P0, const VEC3* P1, const VEC3* P2);
237 VEC3 N; // 直接代入する場合は正規化しておくこと
255 CAPSULE(const VEC3& P0, const VEC3& P1, f32 r_) : S(P0, P1), r(r_) {} in CAPSULE()
282 AABB(const VEC3& min, const VEC3& max, bool isNormalized = false)
291 void Set(const VEC3* arrayPoint, unsigned int numPoints);
295 VEC3 Pmin;
296 VEC3 Pmax;
453 f32 DistSqPoint3ToLine3(const VEC3* P, const LINE3* L, f32* t);
454 f32 DistSqPoint3ToRay3(const VEC3* P, const RAY3* R, f32* t);
455 f32 DistSqPoint3ToSegment3(const VEC3* P, const SEGMENT3* S, f32* t);
456 f32 DistSqPoint3ToPlane(const VEC3* P, const PLANE* J, VEC3* Q);
458 f32 DistSqPoint3ToPolyline3(const VEC3* P, const VEC3* vertices, unsigned int nVertices);
459 f32 DistSqPoint3ToAABB(const VEC3* P, const AABB* B, VEC3* q);
477 IntersectionResult IntersectionLine3Plane(const LINE3* L, const PLANE* J, f32* t, VEC3* I);
478 IntersectionResult IntersectionRay3Plane(const RAY3* R, const PLANE* J, f32* t, VEC3* I);
479 IntersectionResult IntersectionSegment3Plane(const SEGMENT3* S, const PLANE* J, f32* t, VEC3* I);