Lines Matching refs:P0
142 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()
145 operator f32*() { return &P0.x; }
146 operator const f32*() const { return &P0.x; }
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; }
150 VEC3 P0;
157 P = S->P0; in Set()
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()
257 operator f32*() { return &S.P0.x; }
258 operator const f32*() const { return &S.P0.x; }