Lines Matching refs:r
175 SPHERE(const f32* p) : C(p), r(*(p + 3)) {} in SPHERE()
176 SPHERE(const VEC3& center, f32 radius) : C(center), r(radius) {} in SPHERE()
180 bool operator==(const self_type& rhs) const { return C == rhs.C && r == rhs.r; }
181 bool operator!=(const self_type& rhs) const { return C != rhs.C || r != rhs.r; }
187 f32 r; member
230 f32 r = FrSqrt(VEC3SquareLen(&N)); in Normalize() local
231 (void)VEC3Scale(&N, &N, r); in Normalize()
232 d *= r; in Normalize()
253 CAPSULE(const f32* p) : S(p), r(*(p + 6)) {} in CAPSULE()
254 CAPSULE(const SEGMENT3& S_, f32 r_) : S(S_), r(r_) {} in CAPSULE()
255 CAPSULE(const VEC3& P0, const VEC3& P1, f32 r_) : S(P0, P1), r(r_) {} in CAPSULE()
259 bool operator==(const self_type& rhs) const { return S == rhs.S && r == rhs.r; }
260 bool operator!=(const self_type& rhs) const { return S != rhs.S || r != rhs.r; }
263 f32 r; member
315 : r(*p), h(*(p + 1)) {} in CYLINDER()
317 : r(radius), h(height) {} in CYLINDER()
319 f32 r;
337 : r(*p), h(*(p + 1)) {} in CONE()
339 : r(radius), h(height) {} in CONE()
341 f32 r;